Class PxRevoluteJoint


public class PxRevoluteJoint extends PxJoint
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxRevoluteJoint

      protected PxRevoluteJoint()
    • PxRevoluteJoint

      protected PxRevoluteJoint(long address)
  • Method Details

    • wrapPointer

      public static PxRevoluteJoint wrapPointer(long address)
    • arrayGet

      public static PxRevoluteJoint arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
    • getAngle

      public float getAngle()
      Returns:
      WebIDL type: float
    • getVelocity

      public float getVelocity()
      Returns:
      WebIDL type: float
    • setLimit

      public void setLimit(PxJointAngularLimitPair limits)
      Parameters:
      limits - WebIDL type: PxJointAngularLimitPair [Const, Ref]
    • setDriveVelocity

      public void setDriveVelocity(float velocity)
      Parameters:
      velocity - WebIDL type: float
    • setDriveVelocity

      public void setDriveVelocity(float velocity, boolean autowake)
      Parameters:
      velocity - WebIDL type: float
      autowake - WebIDL type: boolean
    • getDriveVelocity

      public float getDriveVelocity()
      Returns:
      WebIDL type: float
    • setDriveForceLimit

      public void setDriveForceLimit(float limit)
      Parameters:
      limit - WebIDL type: float
    • getDriveForceLimit

      public float getDriveForceLimit()
      Returns:
      WebIDL type: float
    • setDriveGearRatio

      public void setDriveGearRatio(float ratio)
      Parameters:
      ratio - WebIDL type: float
    • getDriveGearRatio

      public float getDriveGearRatio()
      Returns:
      WebIDL type: float
    • setRevoluteJointFlags

      public void setRevoluteJointFlags(PxRevoluteJointFlags flags)
      Parameters:
      flags - WebIDL type: PxRevoluteJointFlags [Ref]
    • setRevoluteJointFlag

      public void setRevoluteJointFlag(PxRevoluteJointFlagEnum flag, boolean value)
      Parameters:
      flag - WebIDL type: PxRevoluteJointFlagEnum [enum]
      value - WebIDL type: boolean
    • getRevoluteJointFlags

      public PxRevoluteJointFlags getRevoluteJointFlags()
      Returns:
      WebIDL type: PxRevoluteJointFlags [Value]