-
Help: I need help. expression to rotate all 4 wheels of a can in 3D.
Hi,
I’m a long time Creative Cow reader, but a first time poster 🙂
I recently completed Carl Larsen’s great tutorial on turning a wheel (pi.Math) in 2D along the x-axis.
https://library.creativecow.net/articles/larsen_carl/vehicle_rig.php
I am currently trying to build a 2d/3d car that could do this on all four wheels while turning and moving along in the x and z axis on top of a horizontal plane (ie, a road texture).
How would I re-write this expression to output the speed of each wheel, while controlling the car’s position and orientation with a master node in the middle of the vehicle?
Separately to this, I have been trying to work out how to get an oval shaped wheel (ie thinner width the height) to roll along the ground, in much the same way as the Carl’s tractor wheel but “sticking” to the ground – and then key the movement to show the wobble of momentum – but I am having no luck thus far. I’ll probably just end up simulating it in Maya, but I’m just really curious if it can be done elegantly in AFX.
Unfortunately I’m not near my workstation, so I can’t post my expression attempts.
Thank you to anyone who can help!
Mark Trethewey
DMI Productions
https://www.dmiproductions.co.uk