Package com.jme.input.action

Examples of com.jme.input.action.KeyNodeRotateLeftAction


    KeyNodeRotateRightAction rotateRight = new KeyNodeRotateRightAction(node, 5f);
    rotateRight.setLockAxis(node.getLocalRotation().getRotationColumn(1));
    //PhysicsRotateKeyAction rotateRight = new PhysicsRotateKeyAction(tank, -200000f);
    addAction(rotateRight, "turnRight", true);

    KeyNodeRotateLeftAction rotateLeft = new KeyNodeRotateLeftAction(node,5f);
    rotateLeft.setLockAxis(node.getLocalRotation().getRotationColumn(1));
    //PhysicsRotateKeyAction rotateLeft = new PhysicsRotateKeyAction(tank, 200000f);
    addAction(rotateLeft, "turnLeft", true);
  }
View Full Code Here

TOP

Related Classes of com.jme.input.action.KeyNodeRotateLeftAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.