Class RigidBodyFactory


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

      • RigidBodyFactory

        public RigidBodyFactory()
    • 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)