Class PxRevoluteJoint


  • public class PxRevoluteJoint
    extends PxJoint
    • Constructor Detail

      • PxRevoluteJoint

        protected PxRevoluteJoint()
      • PxRevoluteJoint

        protected PxRevoluteJoint​(long address)
    • Method Detail

      • wrapPointer

        public static PxRevoluteJoint wrapPointer​(long address)
      • destroy

        public void destroy()
      • getAngle

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

        public float getVelocity()
        Returns:
        WebIDL type: float
      • 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
      • setRevoluteJointFlag

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

        public void setProjectionLinearTolerance​(float tolerance)
        Parameters:
        tolerance - WebIDL type: float
      • getProjectionLinearTolerance

        public float getProjectionLinearTolerance()
        Returns:
        WebIDL type: float
      • setProjectionAngularTolerance

        public void setProjectionAngularTolerance​(float tolerance)
        Parameters:
        tolerance - WebIDL type: float
      • getProjectionAngularTolerance

        public float getProjectionAngularTolerance()
        Returns:
        WebIDL type: float