Interface MutableMotionProperties

All Superinterfaces:
JoltNative, MotionProperties

public sealed interface MutableMotionProperties extends MotionProperties
MutableMotionProperties relies on preview features of the Java platform:
  • MutableMotionProperties refers to one or more preview APIs: MemoryAddress.
Programs can only use MutableMotionProperties 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

    • setLinearVelocity

      void setLinearVelocity(FVec3 linearVelocity)
    • setLinearVelocityClamped

      void setLinearVelocityClamped(FVec3 linearVelocity)
    • setAngularVelocity

      void setAngularVelocity(FVec3 angularVelocity)
    • setAngularVelocityClamped

      void setAngularVelocityClamped(FVec3 angularVelocity)
    • moveKinematic

      void moveKinematic(FVec3 deltaPosition, Quat deltaRotation, float deltaTime)
    • setMaxLinearVelocity

      void setMaxLinearVelocity(float linearVelocity)
    • setMaxAngularVelocity

      void setMaxAngularVelocity(float angularVelocity)
    • clampLinearVelocity

      void clampLinearVelocity()
    • clampAngularVelocity

      void clampAngularVelocity()
    • setLinearDamping

      void setLinearDamping(float linearDamping)
    • setAngularDamping

      void setAngularDamping(float angularDamping)
    • setGravityFactor

      void setGravityFactor(float gravityFactor)
    • setInverseMass

      void setInverseMass(float inverseMass)
    • setInverseInertia

      void setInverseInertia(FVec3 diagonal, Quat rot)