Searched refs:BoxCollisionShape (Results 1 - 17 of 17) sorted by relevance

/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
H A DBoxCollisionShape.java47 public class BoxCollisionShape extends CollisionShape { class in inherits:CollisionShape
51 public BoxCollisionShape() { method in class:BoxCollisionShape
58 public BoxCollisionShape(Vector3f halfExtents) { method in class:BoxCollisionShape
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/collision/shapes/infos/
H A DChildCollisionShape.java7 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
37 capsule.write(shape, "shape", new BoxCollisionShape(new Vector3f(1, 1, 1)));
44 shape = (CollisionShape) capsule.readSavable("shape", new BoxCollisionShape(new Vector3f(1, 1, 1)));
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
H A DBoxCollisionShape.java47 public class BoxCollisionShape extends CollisionShape { class in inherits:CollisionShape
51 public BoxCollisionShape() { method in class:BoxCollisionShape
58 public BoxCollisionShape(Vector3f halfExtents) { method in class:BoxCollisionShape
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
H A DTestGhostObject.java39 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
70 CollisionShape shape = new BoxCollisionShape(new Vector3f(1, 1, 1));
84 Node physicsBox2 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1);
91 Node node = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(100, 1, 100)), 0);
106 ghostControl = new GhostControl(new BoxCollisionShape(halfExtents));
H A DTestPhysicsHingeJoint.java38 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
89 Node holderNode=PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f( .1f, .1f, .1f)),0);
94 Node hammerNode=PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f( .3f, .3f, .3f)),1);
H A DTestAttachGhostObject.java37 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
98 Node holderNode = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(.1f, .1f, .1f)), 0);
103 Node hammerNode = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(.3f, .3f, .3f)), 1);
109 collisionNode = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(.3f, .3f, .3f)), 0);
H A DTestAttachDriver.java39 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
130 //create a compound shape and attach the BoxCollisionShape for the car body at 0,1,0
131 //this shifts the effective center of mass of the BoxCollisionShape to 0,-1,0
133 BoxCollisionShape box = new BoxCollisionShape(new Vector3f(1.2f, 0.5f, 2.4f));
205 driver=new RigidBodyControl(new BoxCollisionShape(new Vector3f(0.2f,.5f,0.2f)));
225 RigidBodyControl pole1=new RigidBodyControl(new BoxCollisionShape(new Vector3f(0.2f,1.25f,0.2f)),0);
227 RigidBodyControl pole2=new RigidBodyControl(new BoxCollisionShape(new Vector3f(0.2f,1.25f,0.2f)),0);
229 bridge=new RigidBodyControl(new BoxCollisionShape(new Vector3f(2.5f,0.2f,0.2f)));
H A DTestCcd.java37 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
108 node3.addControl(new RigidBodyControl(new BoxCollisionShape(new Vector3f(100, 1, 100)), 0));
H A DTestPhysicsCar.java38 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
102 //create a compound shape and attach the BoxCollisionShape for the car body at 0,1,0
103 //this shifts the effective center of mass of the BoxCollisionShape to 0,-1,0
105 BoxCollisionShape box = new BoxCollisionShape(new Vector3f(1.2f, 0.5f, 2.4f));
H A DTestLocalPhysics.java79 Node physicsBox = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1);
H A DTestSimplePhysics.java77 Node physicsBox = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1);
H A DTestBrickWall.java38 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
161 floor.addControl(new RigidBodyControl(new BoxCollisionShape(new Vector3f(10f, 0.1f, 5f)), 0));
H A DTestHoveringTank.java39 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
176 BoxCollisionShape boxShape = new BoxCollisionShape(extent);
H A DTestPhysicsReadWrite.java89 Node physicsBox = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1);
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/
H A DCollisionShapeFactory.java223 * Uses the bounding box of the supplied spatial to create a BoxCollisionShape
225 * @return BoxCollisionShape with the size of the spatials BoundingBox
227 private static BoxCollisionShape createSingleBoxShape(Spatial spatial, Spatial parent) {
230 BoxCollisionShape shape = new BoxCollisionShape(
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
H A DRigidBodyControl.java8 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
125 collisionShape = new BoxCollisionShape(new Vector3f(((Box) mesh).getXExtent(), ((Box) mesh).getYExtent(), ((Box) mesh).getZExtent()));
H A DKinematicRagdollControl.java44 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
366 baseRigidBody = new PhysicsRigidBody(new BoxCollisionShape(Vector3f.UNIT_XYZ.mult(0.1f)), 1);

Completed in 148 milliseconds