Class RigidBodyFactory

java.lang.Object
repast.simphony.space.physics.RigidBodyFactory

public class RigidBodyFactory extends Object
Author:
Eric Tatara
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)