OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:physicsbox
(Results
1 - 4
of
4
) sorted by null
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestLocalPhysics.java
79
Node
physicsBox
= PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1);
80
physicsBox
.getControl(RigidBodyControl.class).setFriction(0.1f);
81
physicsBox
.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(.6f, 4, .5f));
82
physicsBox
.getControl(RigidBodyControl.class).setApplyPhysicsLocal(true);
83
rootNode.attachChild(
physicsBox
);
84
getPhysicsSpace().add(
physicsBox
);
108
// PhysicsPoint2PointJoint joint=new PhysicsPoint2PointJoint(physicsSphere,
physicsBox
, new Vector3f(-2,0,0), new Vector3f(2,0,0));
109
// PhysicsHingeJoint joint=new PhysicsHingeJoint(physicsSphere,
physicsBox
, new Vector3f(-2,0,0), new Vector3f(2,0,0), Vector3f.UNIT_Z,Vector3f.UNIT_Z);
TestSimplePhysics.java
77
Node
physicsBox
= PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1);
78
physicsBox
.getControl(RigidBodyControl.class).setFriction(0.1f);
79
physicsBox
.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(.6f, 4, .5f));
80
rootNode.attachChild(
physicsBox
);
81
getPhysicsSpace().add(
physicsBox
);
102
// PhysicsPoint2PointJoint joint=new PhysicsPoint2PointJoint(physicsSphere,
physicsBox
, new Vector3f(-2,0,0), new Vector3f(2,0,0));
103
// PhysicsHingeJoint joint=new PhysicsHingeJoint(physicsSphere,
physicsBox
, new Vector3f(-2,0,0), new Vector3f(2,0,0), Vector3f.UNIT_Z,Vector3f.UNIT_Z);
TestPhysicsReadWrite.java
89
Node
physicsBox
= PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1);
90
physicsBox
.getControl(RigidBodyControl.class).setFriction(0.1f);
91
physicsBox
.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(.6f, 4, .5f));
92
rootNode.attachChild(
physicsBox
);
93
getPhysicsSpace().add(
physicsBox
);
114
HingeJoint joint=new HingeJoint(physicsSphere.getControl(RigidBodyControl.class),
physicsBox
.getControl(RigidBodyControl.class), new Vector3f(-2,0,0), new Vector3f(2,0,0), Vector3f.UNIT_Z,Vector3f.UNIT_Z);
TestGhostObject.java
72
Node
physicsBox
= PhysicsTestHelper.createPhysicsTestNode(assetManager, shape, 1);
73
physicsBox
.setName("box0");
74
physicsBox
.getControl(RigidBodyControl.class).setPhysicsLocation(new Vector3f(.6f, 4, .5f));
75
rootNode.attachChild(
physicsBox
);
76
getPhysicsSpace().add(
physicsBox
);
Completed in 531 milliseconds