Package repast.simphony.space.physics
Class RigidBodyFactory
java.lang.Object
repast.simphony.space.physics.RigidBodyFactory
- Author:
- Eric Tatara
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static com.bulletphysics.dynamics.RigidBodyConstructionInfo
ConstructBodyInfo
(com.bulletphysics.collision.shapes.CollisionShape colShape, float mass, float[] loc) static com.bulletphysics.dynamics.RigidBody
createBoxBody
(float xLength, float yLength, float zLength, float mass, float[] loc) static com.bulletphysics.dynamics.RigidBody
createCubeBody
(float edgeLength, float mass, float[] loc) static com.bulletphysics.dynamics.RigidBody
createSphereBody
(float radius, float mass, float[] loc)
-
Constructor Details
-
RigidBodyFactory
public RigidBodyFactory()
-
-
Method Details
-
createSphereBody
public static com.bulletphysics.dynamics.RigidBody createSphereBody(float radius, float mass, float[] loc) -
createCubeBody
public static com.bulletphysics.dynamics.RigidBody createCubeBody(float edgeLength, float mass, float[] loc) -
createBoxBody
public static com.bulletphysics.dynamics.RigidBody createBoxBody(float xLength, float yLength, float zLength, float mass, float[] loc) -
ConstructBodyInfo
protected static com.bulletphysics.dynamics.RigidBodyConstructionInfo ConstructBodyInfo(com.bulletphysics.collision.shapes.CollisionShape colShape, float mass, float[] loc)
-