/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/ |
D | PhysicsCollisionObject.java | 62 protected CollisionShape collisionShape; field in PhysicsCollisionObject 90 public void setCollisionShape(CollisionShape collisionShape) { in setCollisionShape() argument 91 this.collisionShape = collisionShape; in setCollisionShape() 100 return collisionShape; in getCollisionShape() 227 Spatial spatial = DebugShapeFactory.getDebugShape(collisionShape); in getDebugShape() 275 capsule.write(collisionShape, "collisionShape", null); in write() 285 collisionShape = shape; in read()
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/ |
D | PhysicsRigidBody.java | 88 collisionShape = shape; in PhysicsRigidBody() 93 collisionShape = shape; in PhysicsRigidBody() 103 if(collisionShape instanceof MeshCollisionShape && mass != 0){ in rebuildRigidBody() 122 collisionShape.calculateLocalInertia(mass, localInertia); in preRebuild() 124 …constructionInfo = new RigidBodyConstructionInfo(mass, motionState, collisionShape.getCShape(), lo… in preRebuild() 127 constructionInfo.collisionShape = collisionShape.getCShape(); in preRebuild() 319 if(collisionShape instanceof MeshCollisionShape && mass != 0){ in setMass() 322 if (collisionShape != null) { in setMass() 323 collisionShape.calculateLocalInertia(mass, localInertia); in setMass() 520 public void setCollisionShape(CollisionShape collisionShape) { in setCollisionShape() argument [all …]
|
D | PhysicsCharacter.java | 79 this.collisionShape = shape; in PhysicsCharacter() 93 gObject.setCollisionShape(collisionShape.getCShape()); in buildObject() 95 …character = new KinematicCharacterController(gObject, (ConvexShape) collisionShape.getCShape(), st… in buildObject() 181 public void setCollisionShape(CollisionShape collisionShape) { in setCollisionShape() argument 182 if (!(collisionShape.getCShape() instanceof ConvexShape)) { in setCollisionShape() 185 super.setCollisionShape(collisionShape); in setCollisionShape() 189 gObject.setCollisionShape(collisionShape.getCShape()); in setCollisionShape() 280 …character = new KinematicCharacterController(gObject, (ConvexShape) collisionShape.getCShape(), st… in read()
|
D | PhysicsGhostObject.java | 75 collisionShape = shape; in PhysicsGhostObject() 80 collisionShape = shape; in PhysicsGhostObject() 89 gObject.setCollisionShape(collisionShape.getCShape()); in buildObject() 94 public void setCollisionShape(CollisionShape collisionShape) { in setCollisionShape() argument 95 super.setCollisionShape(collisionShape); in setCollisionShape() 99 gObject.setCollisionShape(collisionShape.getCShape()); in setCollisionShape()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/ |
D | PhysicsCollisionObject.java | 65 protected CollisionShape collisionShape; field in PhysicsCollisionObject 93 public void setCollisionShape(CollisionShape collisionShape) { in setCollisionShape() argument 94 this.collisionShape = collisionShape; in setCollisionShape() 103 return collisionShape; in getCollisionShape() 247 Spatial spatial = DebugShapeFactory.getDebugShape(collisionShape); in getDebugShape() 303 capsule.write(collisionShape, "collisionShape", null); in write() 313 collisionShape = shape; in read()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/ |
D | DebugShapeFactory.java | 64 public static Spatial getDebugShape(CollisionShape collisionShape) { in getDebugShape() argument 65 if (collisionShape == null) { in getDebugShape() 69 if (collisionShape instanceof CompoundCollisionShape) { in getDebugShape() 70 CompoundCollisionShape shape = (CompoundCollisionShape) collisionShape; in getDebugShape() 95 debugShape = createDebugShape(collisionShape); in getDebugShape()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/ |
D | PhysicsRigidBody.java | 78 collisionShape = shape; in PhysicsRigidBody() 83 collisionShape = shape; in PhysicsRigidBody() 93 if (collisionShape instanceof MeshCollisionShape && mass != 0) { in rebuildRigidBody() 105 objectId = createRigidBody(mass, motionState.getObjectId(), collisionShape.getObjectId()); in rebuildRigidBody() 318 if (collisionShape instanceof MeshCollisionShape && mass != 0) { in setMass() 322 if (collisionShape != null) { in setMass() 323 updateMassProps(objectId, collisionShape.getObjectId(), mass); in setMass() 568 public void setCollisionShape(CollisionShape collisionShape) { in setCollisionShape() argument 569 super.setCollisionShape(collisionShape); in setCollisionShape() 570 if (collisionShape instanceof MeshCollisionShape && mass != 0) { in setCollisionShape() [all …]
|
D | PhysicsGhostObject.java | 68 collisionShape = shape; in PhysicsGhostObject() 73 collisionShape = shape; in PhysicsGhostObject() 89 attachCollisionShape(objectId, collisionShape.getObjectId()); in buildObject() 97 public void setCollisionShape(CollisionShape collisionShape) { in setCollisionShape() argument 98 super.setCollisionShape(collisionShape); in setCollisionShape() 102 attachCollisionShape(objectId, collisionShape.getObjectId()); in setCollisionShape()
|
D | PhysicsCharacter.java | 70 this.collisionShape = shape; in PhysicsCharacter() 85 attachCollisionShape(objectId, collisionShape.getObjectId()); in buildObject() 90 characterId = createCharacterObject(objectId, collisionShape.getObjectId(), stepHeight); in buildObject() 201 public void setCollisionShape(CollisionShape collisionShape) { in setCollisionShape() argument 205 super.setCollisionShape(collisionShape); in setCollisionShape() 209 attachCollisionShape(objectId, collisionShape.getObjectId()); in setCollisionShape()
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ |
D | RigidBodyControl.java | 66 RigidBodyControl control = new RigidBodyControl(collisionShape, mass); in cloneForSpatial() 103 collisionShape = null; in setSpatial() 106 if (collisionShape == null) { in setSpatial() 122 collisionShape = new SphereCollisionShape(((Sphere) mesh).getRadius()); in createCollisionShape() 125 …collisionShape = new BoxCollisionShape(new Vector3f(((Box) mesh).getXExtent(), ((Box) mesh).getYEx… in createCollisionShape() 130 collisionShape = CollisionShapeFactory.createDynamicMeshShape(spatial); in createCollisionShape() 132 collisionShape = CollisionShapeFactory.createMeshShape(spatial); in createCollisionShape()
|
D | VehicleControl.java | 85 VehicleControl control = new VehicleControl(collisionShape, mass); in cloneForSpatial() 145 this.collisionShape = null; in setSpatial()
|
D | GhostControl.java | 70 GhostControl control = new GhostControl(collisionShape); in cloneForSpatial()
|
D | CharacterControl.java | 64 CharacterControl control = new CharacterControl(collisionShape, stepHeight); in cloneForSpatial()
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
D | DebugShapeFactory.java | 73 public static Spatial getDebugShape(CollisionShape collisionShape) { in getDebugShape() argument 74 if (collisionShape == null) { in getDebugShape() 78 if (collisionShape instanceof CompoundCollisionShape) { in getDebugShape() 79 CompoundCollisionShape shape = (CompoundCollisionShape) collisionShape; in getDebugShape() 105 debugShape = createDebugShape(collisionShape); in getDebugShape()
|
/external/jmonkeyengine/engine/src/bullet-native/ |
D | com_jme3_bullet_collision_PhysicsCollisionObject.cpp | 57 btCollisionShape* collisionShape = reinterpret_cast<btCollisionShape*>(shapeId); in Java_com_jme3_bullet_collision_PhysicsCollisionObject_attachCollisionShape() local 58 if (collisionShape == NULL) { in Java_com_jme3_bullet_collision_PhysicsCollisionObject_attachCollisionShape() 63 collisionObject->setCollisionShape(collisionShape); in Java_com_jme3_bullet_collision_PhysicsCollisionObject_attachCollisionShape()
|
/external/jmonkeyengine/ |
D | NOTICE | 2269 * A simple point, line, triangle or quad collisionShape based on one to four points- 22755 * A simple point, line, triangle or quad collisionShape based on one to four points-
|