Package physx.physics

Enum Class PxConstraintFlagEnum

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

public enum PxConstraintFlagEnum extends Enum<PxConstraintFlagEnum>
constraint flags

Note: eBROKEN is a read only flag

  • Enum Constant Details

    • eBROKEN

      public static final PxConstraintFlagEnum eBROKEN
      whether the constraint is broken
    • eCOLLISION_ENABLED

      public static final PxConstraintFlagEnum eCOLLISION_ENABLED
      whether contacts should be generated between the objects this constraint constrains
    • eVISUALIZATION

      public static final PxConstraintFlagEnum eVISUALIZATION
      whether this constraint should be visualized, if constraint visualization is turned on
    • eDRIVE_LIMITS_ARE_FORCES

      public static final PxConstraintFlagEnum eDRIVE_LIMITS_ARE_FORCES
      limits for drive strength are forces rather than impulses
    • eIMPROVED_SLERP

      public static final PxConstraintFlagEnum eIMPROVED_SLERP
      perform preprocessing for improved accuracy on D6 Slerp Drive (this flag will be removed in a future release when preprocessing is no longer required)
    • eDISABLE_PREPROCESSING

      public static final PxConstraintFlagEnum eDISABLE_PREPROCESSING
      suppress constraint preprocessing, intended for use with rowResponseThreshold. May result in worse solver accuracy for ill-conditioned constraints.
    • eENABLE_EXTENDED_LIMITS

      public static final PxConstraintFlagEnum eENABLE_EXTENDED_LIMITS
      enables extended limit ranges for angular limits (e.g., limit values > PxPi or < -PxPi)
    • eGPU_COMPATIBLE

      public static final PxConstraintFlagEnum eGPU_COMPATIBLE
      please do not raise this flag as it is for internal use only
    • eALWAYS_UPDATE

      public static final PxConstraintFlagEnum eALWAYS_UPDATE
      updates the constraint each frame
    • eDISABLE_CONSTRAINT

      public static final PxConstraintFlagEnum eDISABLE_CONSTRAINT
  • Field Details

    • value

      public final int value
  • Method Details

    • values

      public static PxConstraintFlagEnum[] 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 PxConstraintFlagEnum 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 PxConstraintFlagEnum forValue(int value)