Package physx.physics

Enum Class PxArticulationDriveTypeEnum

java.lang.Object
java.lang.Enum<PxArticulationDriveTypeEnum>
physx.physics.PxArticulationDriveTypeEnum
All Implemented Interfaces:
Serializable, Comparable<PxArticulationDriveTypeEnum>, Constable

public enum PxArticulationDriveTypeEnum extends Enum<PxArticulationDriveTypeEnum>
  • Enum Constant Details

    • eFORCE

      public static final PxArticulationDriveTypeEnum eFORCE
      The output of the implicit spring drive controller is a force/torque.
    • eACCELERATION

      public static final PxArticulationDriveTypeEnum eACCELERATION
      The output of the implicit spring drive controller is a joint acceleration (use this to get (spatial)-inertia-invariant behavior of the drive).
    • eTARGET

      @Deprecated public static final PxArticulationDriveTypeEnum eTARGET
      Deprecated.
      Will be removed in a future version; use stiffness = 1e+25f and damping = 0.f to obtain identical behavior. Sets the drive gains internally to track a target position almost kinematically (i.e. with very high drive gains).
    • eVELOCITY

      @Deprecated public static final PxArticulationDriveTypeEnum eVELOCITY
      Deprecated.
      Will be removed in a future version; use stiffness = 0.f and damping = 1e+25f to obtain identical behavior. Sets the drive gains internally to track a target velocity almost kinematically (i.e. with very high drive gains).
    • eNONE

      public static final PxArticulationDriveTypeEnum eNONE
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static PxArticulationDriveTypeEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PxArticulationDriveTypeEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forValue

      public static PxArticulationDriveTypeEnum forValue(int value)