/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/ |
H A D | DebugShapeFactory.java | 61 * @param collisionShape 64 public static Spatial getDebugShape(CollisionShape collisionShape) { argument 65 if (collisionShape == null) { 69 if (collisionShape instanceof CompoundCollisionShape) { 70 CompoundCollisionShape shape = (CompoundCollisionShape) collisionShape; 95 debugShape = createDebugShape(collisionShape);
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/ |
H A D | PhysicsCollisionObject.java | 65 protected CollisionShape collisionShape; field in class:PhysicsCollisionObject 91 * @param collisionShape the CollisionShape to set 93 public void setCollisionShape(CollisionShape collisionShape) { argument 94 this.collisionShape = collisionShape; 103 return collisionShape; 247 Spatial spatial = DebugShapeFactory.getDebugShape(collisionShape); 303 capsule.write(collisionShape, "collisionShape", null); 312 CollisionShape shape = (CollisionShape) capsule.readSavable("collisionShape", nul [all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/ |
H A D | PhysicsCollisionObject.java | 62 protected CollisionShape collisionShape; field in class:PhysicsCollisionObject 88 * @param collisionShape the CollisionShape to set 90 public void setCollisionShape(CollisionShape collisionShape) { argument 91 this.collisionShape = collisionShape; 100 return collisionShape; 227 Spatial spatial = DebugShapeFactory.getDebugShape(collisionShape); 275 capsule.write(collisionShape, "collisionShape", null); 284 CollisionShape shape = (CollisionShape) capsule.readSavable("collisionShape", nul [all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/ |
H A D | PhysicsCharacter.java | 79 this.collisionShape = shape; 93 gObject.setCollisionShape(collisionShape.getCShape()); 95 character = new KinematicCharacterController(gObject, (ConvexShape) collisionShape.getCShape(), stepHeight); 181 public void setCollisionShape(CollisionShape collisionShape) { argument 182 if (!(collisionShape.getCShape() instanceof ConvexShape)) { 185 super.setCollisionShape(collisionShape); 189 gObject.setCollisionShape(collisionShape.getCShape()); 280 character = new KinematicCharacterController(gObject, (ConvexShape) collisionShape.getCShape(), stepHeight);
|
H A D | PhysicsRigidBody.java | 88 collisionShape = shape; 93 collisionShape = shape; 103 if(collisionShape instanceof MeshCollisionShape && mass != 0){ 122 collisionShape.calculateLocalInertia(mass, localInertia); 124 constructionInfo = new RigidBodyConstructionInfo(mass, motionState, collisionShape.getCShape(), localInertia); 127 constructionInfo.collisionShape = collisionShape.getCShape(); 319 if(collisionShape instanceof MeshCollisionShape && mass != 0){ 322 if (collisionShape != null) { 323 collisionShape 520 setCollisionShape(CollisionShape collisionShape) argument [all...] |
H A D | PhysicsGhostObject.java | 75 collisionShape = shape; 80 collisionShape = shape; 89 gObject.setCollisionShape(collisionShape.getCShape()); 94 public void setCollisionShape(CollisionShape collisionShape) { argument 95 super.setCollisionShape(collisionShape); 99 gObject.setCollisionShape(collisionShape.getCShape());
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ |
H A D | RigidBodyControl.java | 66 RigidBodyControl control = new RigidBodyControl(collisionShape, mass); 103 collisionShape = null; 106 if (collisionShape == null) { 122 collisionShape = new SphereCollisionShape(((Sphere) mesh).getRadius()); 125 collisionShape = new BoxCollisionShape(new Vector3f(((Box) mesh).getXExtent(), ((Box) mesh).getYExtent(), ((Box) mesh).getZExtent())); 130 collisionShape = CollisionShapeFactory.createDynamicMeshShape(spatial); 132 collisionShape = CollisionShapeFactory.createMeshShape(spatial);
|
H A D | GhostControl.java | 70 GhostControl control = new GhostControl(collisionShape);
|
H A D | VehicleControl.java | 85 VehicleControl control = new VehicleControl(collisionShape, mass); 145 this.collisionShape = null;
|
H A D | CharacterControl.java | 64 CharacterControl control = new CharacterControl(collisionShape, stepHeight);
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/ |
H A D | PhysicsRigidBody.java | 78 collisionShape = shape; 83 collisionShape = shape; 93 if (collisionShape instanceof MeshCollisionShape && mass != 0) { 105 objectId = createRigidBody(mass, motionState.getObjectId(), collisionShape.getObjectId()); 318 if (collisionShape instanceof MeshCollisionShape && mass != 0) { 322 if (collisionShape != null) { 323 updateMassProps(objectId, collisionShape.getObjectId(), mass); 568 public void setCollisionShape(CollisionShape collisionShape) { argument 569 super.setCollisionShape(collisionShape); 570 if (collisionShape instanceo [all...] |
H A D | PhysicsCharacter.java | 70 this.collisionShape = shape; 85 attachCollisionShape(objectId, collisionShape.getObjectId()); 90 characterId = createCharacterObject(objectId, collisionShape.getObjectId(), stepHeight); 201 public void setCollisionShape(CollisionShape collisionShape) { argument 202 // if (!(collisionShape.getObjectId() instanceof ConvexShape)) { 205 super.setCollisionShape(collisionShape); 209 attachCollisionShape(objectId, collisionShape.getObjectId());
|
H A D | PhysicsGhostObject.java | 68 collisionShape = shape; 73 collisionShape = shape; 89 attachCollisionShape(objectId, collisionShape.getObjectId()); 97 public void setCollisionShape(CollisionShape collisionShape) { argument 98 super.setCollisionShape(collisionShape); 102 attachCollisionShape(objectId, collisionShape.getObjectId());
|
/external/jmonkeyengine/engine/src/bullet-native/ |
H A D | com_jme3_bullet_collision_PhysicsCollisionObject.cpp | 57 btCollisionShape* collisionShape = reinterpret_cast<btCollisionShape*>(shapeId); local 58 if (collisionShape == NULL) { 63 collisionObject->setCollisionShape(collisionShape);
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
H A D | DebugShapeFactory.java | 70 * @param collisionShape 73 public static Spatial getDebugShape(CollisionShape collisionShape) { argument 74 if (collisionShape == null) { 78 if (collisionShape instanceof CompoundCollisionShape) { 79 CompoundCollisionShape shape = (CompoundCollisionShape) collisionShape; 105 debugShape = createDebugShape(collisionShape);
|