HomeSort by relevance Sort by last modified time
    Searched refs:hammerNode (Results 1 - 2 of 2) sorted by null

  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestPhysicsHingeJoint.java 94 Node hammerNode=PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f( .3f, .3f, .3f)),1);
95 hammerNode.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(0f,-1,0f));
96 rootNode.attachChild(hammerNode);
97 getPhysicsSpace().add(hammerNode);
99 joint=new HingeJoint(holderNode.getControl(RigidBodyControl.class), hammerNode.getControl(RigidBodyControl.class), Vector3f.ZERO, new Vector3f(0f,-1,0f), Vector3f.UNIT_Z, Vector3f.UNIT_Z);
TestAttachGhostObject.java 58 private Node hammerNode;
103 Node hammerNode = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(.3f, .3f, .3f)), 1);
104 hammerNode.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(0f, -1, 0f));
105 rootNode.attachChild(hammerNode);
106 getPhysicsSpace().add(hammerNode);
117 hammerNode.addControl(ghostControl);
120 joint = new HingeJoint(holderNode.getControl(RigidBodyControl.class), hammerNode.getControl(RigidBodyControl.class), Vector3f.ZERO, new Vector3f(0f, -1, 0f), Vector3f.UNIT_Z, Vector3f.UNIT_Z);

Completed in 155 milliseconds