6dof vehicle example

here is a example of a 6d0f linkage rigid body “simulation” car :smiley:

(it’s a vehicle you can break into pieces, delete, or smack around and blender will not crash)

try that with the vehicle wrapper :smiley:

Attachments

TorqueMobile(UbberPolished).blend (559 KB)

added a few lines of code to smooth out the “straightening” code

Attachments

TorqueMobile(Ubber).blend (559 KB)

and finally moved the spindles closet to the wheel centers increasing overall stability, and increased “Force” applied to dampen and return spindles into alignment.

Attachments

TorqueMobile(SpindelCorrected) (1).blend (582 KB)

Does your “fantastic” vehicle react to Material’s “friction” settings? :wink:
Bye and thank you for sharing!

yeah, or at least I believe so… :smiley:

the wheels are using the friction settings,

do you have to check Anisotropic Friction ?

is “fantastic” a jeer or compliment? :stuck_out_tongue:

BluePrintRandom: I think we should call you ‘6dof man’ as you are the rigid body joint master! Thanks for posting.

Hello BluePrintRandom

“is “fantastic” a jeer or compliment?”…Well, both I guess?..
You “car simulation” its nicely made ( much, much better than I could achieve, anyway), but in the other side, the vehicle don’t react on different Material’s friction settings ( unless I’m missing something)!
Anyway, thank you for sharing your work!
Bye

I’ll look into it and see what I can do :smiley:

there are two materials there on the “ground plane”
I am not sure, but it only seems to be applying one?

Crank it up to 100 (friction) and then tilt the ground plane sideways for the car

Note at zero friction it’s much different.

I don’t know if scale effects friction?

also, I am not sure why, but I seem to be getting better results from the “capsule type” shape bound, rather than the cylinder,

also the “car” ways 10 mass units, and the wheels are very very light,

Upping the mass of the wheels, and lowering the mass of the “center” seems to help a lot.

I have it performing pretty well now,

edit: with rear wheels mass set to 1 mass, and center set to 1 its very sticky
also make sure materials frictions are set :smiley:

Attachments

TorqueMobile(FrictionTester).blend (582 KB)

Wow! This is might be a serious alternative to the vehicle wrapper!
Keep it up!

it’s quite an interesting vehicle setup. When i read the title I was hoping it would be a vehicle with a trailer. I really want to design a vehicle that can tow a trailer (or anti tank gun) but so far I’ve had no luck with simply using the 6dof joints.

you could use this for towing a trailer,

I could make a example if you like,

you are going to to have to add a “hitch” that is 6dof linked to the center, and then 6dof link the trailer to that,
and then 6dof link the wheels to the trailor,

Physics steps begins to be an issue if you have to long of “chains” but this is not as complex as the torquerig :smiley:

update - here ya go smokin

Attachments

TorqueCamping.blend (617 KB)

Latest incarnation,

Attachments

RacingHullNeedsWork2.blend (631 KB)

Rigid body assembled vehicle take 4

Attachments

physicsCarOdditiesWithGround.blend (572 KB)

update-now with more working.

Attachments

physicsCar3.blend (634 KB)