Advertisement
ZornTaov

wheels

Mar 1st, 2011
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
  2. {
  3.  
  4. double d11 = tank.tankSpeed; // where double tankSpeed = Math.sqrt(motionX * motionX + motionZ * motionZ);
  5. for(int i = 5; i < 11; i++)
  6. {
  7. sideModels[i].rotateAngleX += d11;
  8. }
  9.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement