Interface PhysicsSpace<T>

    • Method Detail

      • 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)