java.lang.Object
com.github.stephengold.joltjni.enumerate.EAllowedDofs

public final class EAllowedDofs extends Object
Bitmasks to enumerate a body's degrees of freedom among the axes of a PhysicsSystem. (native type: EAllowedDOFs)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    all degrees of freedom (this is the default)
    static final int
    no degrees of freedom (an invalid setting; use a static body instead)
    static final int
    translation parallel to the X-Y plane and rotation around an axis parallel to Z
    static final int
    rotation around an axis parallel to the system's X axis
    static final int
    rotation around an axis parallel to the system's Y axis
    static final int
    rotation around an axis parallel to the system's Z axis
    static final int
    translation parallel to the system's X axis
    static final int
    translation parallel to the system's Y axis
    static final int
    translation parallel to the system's Z axis
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • None

      public static final int None
      no degrees of freedom (an invalid setting; use a static body instead)
      See Also:
    • All

      public static final int All
      all degrees of freedom (this is the default)
      See Also:
    • TranslationX

      public static final int TranslationX
      translation parallel to the system's X axis
      See Also:
    • TranslationY

      public static final int TranslationY
      translation parallel to the system's Y axis
      See Also:
    • TranslationZ

      public static final int TranslationZ
      translation parallel to the system's Z axis
      See Also:
    • RotationX

      public static final int RotationX
      rotation around an axis parallel to the system's X axis
      See Also:
    • RotationY

      public static final int RotationY
      rotation around an axis parallel to the system's Y axis
      See Also:
    • RotationZ

      public static final int RotationZ
      rotation around an axis parallel to the system's Z axis
      See Also:
    • Plane2D

      public static final int Plane2D
      translation parallel to the X-Y plane and rotation around an axis parallel to Z
      See Also: