OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:holderNode
(Results
1 - 2
of
2
) sorted by null
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestPhysicsHingeJoint.java
89
Node
holderNode
=PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f( .1f, .1f, .1f)),0);
90
holderNode
.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(0f,0,0f));
91
rootNode.attachChild(
holderNode
);
92
getPhysicsSpace().add(
holderNode
);
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
98
Node
holderNode
= PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(.1f, .1f, .1f)), 0);
99
holderNode
.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(0f, 0, 0f));
100
rootNode.attachChild(
holderNode
);
101
getPhysicsSpace().add(
holderNode
);
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 219 milliseconds