Interface IPhysicsEngineFactory<T,C,W,V>

All Known Implementing Classes:
PhysicsEngineFactory

public interface IPhysicsEngineFactory<T,C,W,V>
Factory for creating physics engine objects
  • Method Summary

    Modifier and Type
    Method
    Description
    createRigidBody(float mass, W shape, V transform)
    Create a new rigid body
    Create a new dynamics world
  • Method Details

    • createWorld

      T createWorld()
      Create a new dynamics world
      Returns:
      the new dynamics world
    • createRigidBody

      C createRigidBody(float mass, W shape, V transform)
      Create a new rigid body
      Parameters:
      mass - the mass of the rigid body
      shape - the shape of the rigid body
      transform - the transform of the rigid body
      Returns:
      the new rigid body