Package jolt.physics.body
Interface MotionProperties
- All Superinterfaces:
JoltNative
- All Known Subinterfaces:
MutableMotionProperties
MotionProperties relies on preview features of the Java platform:
MotionPropertiesrefers to one or more preview APIs:MemoryAddress.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Method Summary
Modifier and TypeMethodDescriptionstatic MotionPropertiesat(MemoryAddressPREVIEW addr) voidgetAccumulatedForce(FVec3 out) voidfloatvoidgetAngularVelocity(FVec3 out) floatvoidgetInertiaRotation(Quat out) voidvoidgetInverseInertiaForRotation(FMat44 rotation, FMat44 out) floatfloatvoidgetLinearVelocity(FVec3 out) voidfloatfloatvoidgetPointVelocityCOM(FVec3 pointRelativeToCOM, FVec3 out) voidmultiplyWorldSpaceInverseInertiaByVector(Quat bodyRotation, FVec3 v, FVec3 out) Methods inherited from interface jolt.JoltNative
address
-
Method Details
-
at
-
getMotionQuality
MotionQuality getMotionQuality() -
getLinearVelocity
-
getAngularVelocity
-
getMaxLinearVelocity
float getMaxLinearVelocity() -
getMaxAngularVelocity
float getMaxAngularVelocity() -
getLinearDamping
float getLinearDamping() -
getAngularDamping
float getAngularDamping() -
getGravityFactor
float getGravityFactor() -
getInverseMass
float getInverseMass() -
getInverseInertiaDiagonal
-
getInertiaRotation
-
getLocalSpaceInverseInertia
-
getInverseInertiaForRotation
-
multiplyWorldSpaceInverseInertiaByVector
-
getPointVelocityCOM
-
getAccumulatedForce
-
getAccumulatedTorque
-
MotionPropertieswhen preview features are enabled.