Class EAllowedDofs
java.lang.Object
com.github.stephengold.joltjni.enumerate.EAllowedDofs
Bitmasks to enumerate a body's degrees of freedom among the axes of a
PhysicsSystem. (native type: EAllowedDOFs)-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intall degrees of freedom (this is the default)static final intno degrees of freedom (an invalid setting; use a static body instead)static final inttranslation parallel to the X-Y plane and rotation around an axis parallel to Zstatic final introtation around an axis parallel to the system's X axisstatic final introtation around an axis parallel to the system's Y axisstatic final introtation around an axis parallel to the system's Z axisstatic final inttranslation parallel to the system's X axisstatic final inttranslation parallel to the system's Y axisstatic final inttranslation parallel to the system's Z axis -
Method Summary
-
Field Details
-
None
public static final int Noneno degrees of freedom (an invalid setting; use a static body instead)- See Also:
-
All
public static final int Allall degrees of freedom (this is the default)- See Also:
-
TranslationX
public static final int TranslationXtranslation parallel to the system's X axis- See Also:
-
TranslationY
public static final int TranslationYtranslation parallel to the system's Y axis- See Also:
-
TranslationZ
public static final int TranslationZtranslation parallel to the system's Z axis- See Also:
-
RotationX
public static final int RotationXrotation around an axis parallel to the system's X axis- See Also:
-
RotationY
public static final int RotationYrotation around an axis parallel to the system's Y axis- See Also:
-
RotationZ
public static final int RotationZrotation around an axis parallel to the system's Z axis- See Also:
-
Plane2D
public static final int Plane2Dtranslation parallel to the X-Y plane and rotation around an axis parallel to Z- See Also:
-