Atom Posted September 3, 2018 Share Posted September 3, 2018 (edited) 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. ap_basic_vehicle_090318.hiplc Edited September 3, 2018 by Atom 7 Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted September 4, 2018 Share Posted September 4, 2018 Hi Atom, nice car rig. As for steering, you can use orient attribute for constraint. I attached simple example how it works. constraint_steering.hipnc 2 Quote Link to comment Share on other sites More sharing options...
Atom Posted September 4, 2018 Author Share Posted September 4, 2018 (edited) 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. Edited September 4, 2018 by Atom Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted September 6, 2018 Share Posted September 6, 2018 I can offer this setup of constraints that orient works well constraint_orient.hipnc Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted September 9, 2018 Share Posted September 9, 2018 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 steering_test.hipnc 3 Quote Link to comment Share on other sites More sharing options...
Atom Posted September 10, 2018 Author Share Posted September 10, 2018 Cool, thanks for posting the file. I did not think about substeps helping stabilize wobbly wheels. That's a good tip. Quote Link to comment Share on other sites More sharing options...
CrazyDraisey Posted September 24, 2018 Share Posted September 24, 2018 This is mind blowing. Thanks for posting! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.