Package repast.simphony.space.physics
Class RigidBodyFactory
- java.lang.Object
-
- repast.simphony.space.physics.RigidBodyFactory
-
public class RigidBodyFactory extends Object
- Author:
- Eric Tatara
-
-
Constructor Summary
Constructors Constructor Description RigidBodyFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected 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)
-
-
-
Method Detail
-
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)
-
-