public class BulletPhysics
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addVehicle(com.bulletphysics.dynamics.vehicle.RaycastVehicle vehicle) |
com.bulletphysics.dynamics.RigidBody |
createRigidBodyAndAddObject(float mass,
com.bulletphysics.collision.shapes.CollisionShape shape,
com.bulletphysics.linearmath.Transform startTransform) |
com.bulletphysics.dynamics.DiscreteDynamicsWorld |
getDynamicsWorld() |
static BulletPhysics |
getInstance() |
static void |
init(javax.vecmath.Vector3f worldMin,
javax.vecmath.Vector3f worldMax) |
void |
stepSimulation(long currentTime) |
public void addVehicle(com.bulletphysics.dynamics.vehicle.RaycastVehicle vehicle)
public com.bulletphysics.dynamics.RigidBody createRigidBodyAndAddObject(float mass, com.bulletphysics.collision.shapes.CollisionShape shape, com.bulletphysics.linearmath.Transform startTransform)
public static void init(javax.vecmath.Vector3f worldMin, javax.vecmath.Vector3f worldMax)
public static BulletPhysics getInstance()
public com.bulletphysics.dynamics.DiscreteDynamicsWorld getDynamicsWorld()
public void stepSimulation(long currentTime)