Jump to content
Atom

Basic RBD Vehicle/Truck/Car Rig

Recommended Posts

I have been exploring how constraints work and I have put together a basic RBD car rig. The vehicle/car rig supports front and rear wheel drive, a spring suspension, motor speed, adjustable wheel size with front and rear axle offsets and a switchable front/back engine block mass.

Dive inside and look for the node named Controls to play with the various settings.

I have a 1st draft attempt at steering, but it does not really work yet. If anyone has any ideas on how to link steering to the constraints I'd love to see them.

Thanks to Richard Lord and Julian Johnson for posting their constraint systems and Matt Estela's CGWiki . Dissecting their work helped me build this rig.:)

car_terrain.gif

ap_basic_vehicle_090318.hiplc

Edited by Atom
  • Like 6

Share this post


Link to post
Share on other sites

The @orient works ok on the first frame but after that it wobbles as it rolls. I think I need some way to orient the constraint, not the object being constrained. Maybe a rack and pinion constraint setup.

 

I am wondering if that is what a cone twist constraint might be useful for? I have not looked into that one yet.

car_steering.gif

Edited by Atom

Share this post


Link to post
Share on other sites

Hi Atom,

I made test for steering with constraints for whole vehicle, set substeps to 3 because with 1 wheels of front suspension is a bit wobbly. I hope it helps you

 

test.gif

steering_test.hipnc

  • Like 1

Share this post


Link to post
Share on other sites

Cool, thanks for posting the file. I did not think about substeps helping stabilize wobbly wheels. That's a good tip.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×