Notifications
Clear all
[Closed] retrieve rotation of an object with path constraint
Nov 07, 2007 7:21 am
Hi, could you please help me, to sort out my problem? I have a car with front wheels I want to be affected with the rotation(z) of the car’s body. currently I am using this “car.transform.rotation.z” to retreive its rotation in wheel float script controller, but the wheels seems to use strange values to rotate. In future I want to read the car’s body rotation, which is offset 4m (+x% of the path) in front of its current position to drive front wheels in curves. Do you know what expression to use to retrieve car’s body rotation in +x% path position? see image
thanks
filip