jotto

Untitled

Jun 17th, 2014
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.57 KB | None | 0 0
  1.             if(raz&&!spacja&&inCollision){
  2.                 raz=false;
  3.                
  4.                 temp.rotY(x);
  5.                 y2=y;
  6.                 z2=z;
  7.             }
  8.            
  9.             if (y2>-0.3){
  10.                 y2-=0.01;
  11.             }
  12.            
  13.             trans5.setTranslation(new Vector3d(0.0f, y2, z2+0.6f));
  14.             trans5.mul(temp, trans5);
  15.             if (spacja&&inCollision) {
  16.                 objTrans4.setTransform(trans4);
  17.             }
  18.             else {
  19.                 objTrans4.setTransform(trans5);
  20.             }
Advertisement
Add Comment
Please, Sign In to add comment