/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
H A D | BoxCollisionShape.java | 47 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 D | ChildCollisionShape.java | 7 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 D | BoxCollisionShape.java | 47 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 D | TestGhostObject.java | 39 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 D | TestPhysicsHingeJoint.java | 38 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 D | TestAttachGhostObject.java | 37 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 D | TestAttachDriver.java | 39 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 D | TestCcd.java | 37 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
108 node3.addControl(new RigidBodyControl(new BoxCollisionShape(new Vector3f(100, 1, 100)), 0));
|
H A D | TestPhysicsCar.java | 38 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 D | TestLocalPhysics.java | 79 Node physicsBox = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1);
|
H A D | TestSimplePhysics.java | 77 Node physicsBox = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1);
|
H A D | TestBrickWall.java | 38 import com.jme3.bullet.collision.shapes.BoxCollisionShape;
161 floor.addControl(new RigidBodyControl(new BoxCollisionShape(new Vector3f(10f, 0.1f, 5f)), 0));
|
H A D | TestHoveringTank.java | 39 import com.jme3.bullet.collision.shapes.BoxCollisionShape; 176 BoxCollisionShape boxShape = new BoxCollisionShape(extent);
|
H A D | TestPhysicsReadWrite.java | 89 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 D | CollisionShapeFactory.java | 223 * 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 D | RigidBodyControl.java | 8 import com.jme3.bullet.collision.shapes.BoxCollisionShape; 125 collisionShape = new BoxCollisionShape(new Vector3f(((Box) mesh).getXExtent(), ((Box) mesh).getYExtent(), ((Box) mesh).getZExtent()));
|
H A D | KinematicRagdollControl.java | 44 import com.jme3.bullet.collision.shapes.BoxCollisionShape; 366 baseRigidBody = new PhysicsRigidBody(new BoxCollisionShape(Vector3f.UNIT_XYZ.mult(0.1f)), 1);
|