Interface PhysicsSpace<T>

Type Parameters:
T -
All Superinterfaces:
Projection<T>
All Known Implementing Classes:
ContextPhysics, DefaultPhysicsSpace

public interface PhysicsSpace<T> extends Projection<T>
Author:
Eric Tatara
  • Method Details

    • step

      void step()
      Manually step the physics space dynamics
      Parameters:
      timeStep -
    • getTransformForObject

      com.bulletphysics.linearmath.Transform getTransformForObject(T object)
    • addObject

      boolean addObject(T object, com.bulletphysics.dynamics.RigidBody body)
    • setGravity

      void setGravity(float x, float y, float z)
    • getGravity

      float[] getGravity()
    • getStepSize

      float getStepSize()
    • setStepSize

      void setStepSize(float stepSize)
    • getMaxSubSteps

      int getMaxSubSteps()
    • setMaxSubSteps

      void setMaxSubSteps(int maxSubSteps)
    • setLinearVelocity

      void setLinearVelocity(T object, float x, float y, float z)
    • getLinearVelocity

      float[] getLinearVelocity(T Object)