Interface MotionProperties

All Superinterfaces:
JoltNative
All Known Subinterfaces:
MutableMotionProperties

public interface MotionProperties extends JoltNative
MotionProperties relies on preview features of the Java platform:
  • MotionProperties refers to one or more preview APIs: MemoryAddress.
Programs can only use MotionProperties when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
  • Method Details

    • at

    • getMotionQuality

      MotionQuality getMotionQuality()
    • getLinearVelocity

      void getLinearVelocity(FVec3 out)
    • getAngularVelocity

      void getAngularVelocity(FVec3 out)
    • getMaxLinearVelocity

      float getMaxLinearVelocity()
    • getMaxAngularVelocity

      float getMaxAngularVelocity()
    • getLinearDamping

      float getLinearDamping()
    • getAngularDamping

      float getAngularDamping()
    • getGravityFactor

      float getGravityFactor()
    • getInverseMass

      float getInverseMass()
    • getInverseInertiaDiagonal

      void getInverseInertiaDiagonal(FVec3 out)
    • getInertiaRotation

      void getInertiaRotation(Quat out)
    • getLocalSpaceInverseInertia

      void getLocalSpaceInverseInertia(FMat44 out)
    • getInverseInertiaForRotation

      void getInverseInertiaForRotation(FMat44 rotation, FMat44 out)
    • multiplyWorldSpaceInverseInertiaByVector

      void multiplyWorldSpaceInverseInertiaByVector(Quat bodyRotation, FVec3 v, FVec3 out)
    • getPointVelocityCOM

      void getPointVelocityCOM(FVec3 pointRelativeToCOM, FVec3 out)
    • getAccumulatedForce

      void getAccumulatedForce(FVec3 out)
    • getAccumulatedTorque

      void getAccumulatedTorque(FVec3 out)