Class PxD6Joint

    • Constructor Detail

      • PxD6Joint

        protected PxD6Joint()
      • PxD6Joint

        protected PxD6Joint​(long address)
    • Method Detail

      • wrapPointer

        public static PxD6Joint wrapPointer​(long address)
      • destroy

        public void destroy()
      • setMotion

        public void setMotion​(int axis,
                              int type)
        Parameters:
        axis - WebIDL type: PxD6AxisEnum [enum]
        type - WebIDL type: PxD6MotionEnum [enum]
      • getMotion

        public int getMotion​(int axis)
        Parameters:
        axis - WebIDL type: PxD6AxisEnum [enum]
        Returns:
        WebIDL type: PxD6MotionEnum [enum]
      • getTwistAngle

        public float getTwistAngle()
        Returns:
        WebIDL type: float
      • getSwingYAngle

        public float getSwingYAngle()
        Returns:
        WebIDL type: float
      • getSwingZAngle

        public float getSwingZAngle()
        Returns:
        WebIDL type: float
      • setDrivePosition

        public void setDrivePosition​(PxTransform pose)
        Parameters:
        pose - WebIDL type: PxTransform [Const, Ref]
      • setDrivePosition

        public void setDrivePosition​(PxTransform pose,
                                     boolean autowake)
        Parameters:
        pose - WebIDL type: PxTransform [Const, Ref]
        autowake - WebIDL type: boolean
      • setDriveVelocity

        public void setDriveVelocity​(PxVec3 linear,
                                     PxVec3 angular)
        Parameters:
        linear - WebIDL type: PxVec3 [Const, Ref]
        angular - WebIDL type: PxVec3 [Const, Ref]
      • getDriveVelocity

        public void getDriveVelocity​(PxVec3 linear,
                                     PxVec3 angular)
        Parameters:
        linear - WebIDL type: PxVec3 [Ref]
        angular - WebIDL type: PxVec3 [Ref]
      • 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