Question by
WOOTinator · Nov 21, 2016 at 10:51 AM ·
rotation axischild objectparent-childlimit
Lock rotation of child's specific axis?
I'm using Unity's standard car controller. However I want to use it in a top-down 2D styled driving game. I have the 3D wheels working as intended, however I want a small plane with a wheel sprite to display the wheel. That plane is a child of the wheel, but I only want it to rotate on the Y-Axis. So only steering left and right affects the plane.
Is there any quick solution to do this? I'm not very familiar with programming.
f4e6f15edb81430d8261951813c358f6-1.png
(77.7 kB)
Comment