java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.JointState
- All Implemented Interfaces:
- ConstJoltPhysicsObject,- AutoCloseable,- Comparable<JoltPhysicsObject>
The local-space coordinate transform of an animation joint relative to its
 parent joint. (native type: 
SkeletonPose::JointState)- 
Method SummaryModifier and TypeMethodDescriptionCopy the rotation.Copy the translation offset.voidsetRotation(QuatArg rotation) Alter the rotation.voidsetTranslation(Vec3Arg offset) Alter the translation offset.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObjectclose, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, isCleanerStarted, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
- 
Method Details- 
getRotationCopy the rotation. The state is unaffected. (native attribute: mRotation)- Returns:
- a new rotation quaternion
 
- 
getTranslationCopy the translation offset. The state is unaffected. (native attribute: mTranslation)- Returns:
- a new offset vector
 
- 
setRotationAlter the rotation. (native attribute: mRotation)- Parameters:
- rotation- the desired rotation (not null, unaffected)
 
- 
setTranslationAlter the translation offset. (native attribute: mTranslation)- Parameters:
- offset- the desired offset (not null, unaffected)
 
 
-