Package physx.physics

Class PxArticulationJointReducedCoordinate

    • Constructor Detail

      • PxArticulationJointReducedCoordinate

        protected PxArticulationJointReducedCoordinate()
      • PxArticulationJointReducedCoordinate

        protected PxArticulationJointReducedCoordinate​(long address)
    • Method Detail

      • setLimit

        public void setLimit​(int axis,
                             float lowLimit,
                             float highLimit)
        Parameters:
        axis - WebIDL type: PxArticulationAxisEnum [enum]
        lowLimit - WebIDL type: float
        highLimit - WebIDL type: float
      • setDrive

        public void setDrive​(int axis,
                             float stiffness,
                             float damping,
                             float maxForce)
        Parameters:
        axis - WebIDL type: PxArticulationAxisEnum [enum]
        stiffness - WebIDL type: float
        damping - WebIDL type: float
        maxForce - WebIDL type: float
      • setDrive

        public void setDrive​(int axis,
                             float stiffness,
                             float damping,
                             float maxForce,
                             int driveType)
        Parameters:
        axis - WebIDL type: PxArticulationAxisEnum [enum]
        stiffness - WebIDL type: float
        damping - WebIDL type: float
        maxForce - WebIDL type: float
        driveType - WebIDL type: PxArticulationDriveTypeEnum [enum]
      • setDriveTarget

        public void setDriveTarget​(int axis,
                                   float target)
        Parameters:
        axis - WebIDL type: PxArticulationAxisEnum [enum]
        target - WebIDL type: float
      • setDriveVelocity

        public void setDriveVelocity​(int axis,
                                     float targetVel)
        Parameters:
        axis - WebIDL type: PxArticulationAxisEnum [enum]
        targetVel - WebIDL type: float
      • getDriveTarget

        public float getDriveTarget​(int axis)
        Parameters:
        axis - WebIDL type: PxArticulationAxisEnum [enum]
        Returns:
        WebIDL type: float
      • getDriveVelocity

        public float getDriveVelocity​(int axis)
        Parameters:
        axis - WebIDL type: PxArticulationAxisEnum [enum]
        Returns:
        WebIDL type: float
      • setFrictionCoefficient

        public void setFrictionCoefficient​(float coefficient)
        Parameters:
        coefficient - WebIDL type: float
      • getFrictionCoefficient

        public float getFrictionCoefficient()
        Returns:
        WebIDL type: float
      • setMaxJointVelocity

        public void setMaxJointVelocity​(float maxJointV)
        Parameters:
        maxJointV - WebIDL type: float
      • getMaxJointVelocity

        public float getMaxJointVelocity()
        Returns:
        WebIDL type: float