Wheels Rotation Script Fix

Wheels Rotation Script Fix

Anonymous
Not applicable
415 Views
0 Replies
Message 1 of 1

Wheels Rotation Script Fix

Anonymous
Not applicable

Hi i have a problem , my wheels rotate in this the if i transalte in the x dericertion but when i turn my main controller ithe wheels stop rotating or rotates backwards 

 

anyone can help me out a bit?

 

wheel_joint_01.rotateZ = (MainController.translateX/(2*3.14*1))*-360;

wheel_joint_02.rotateZ = (MainController.translateX/(2*3.14*1))*-360;

wheel_joint_03.rotateZ = (MainController.translateX/(2*3.14*1))*-360;

wheel_joint_04.rotateZ = (MainController.translateX/(2*3.14*1))*-360;

0 Likes
416 Views
0 Replies
Replies (0)