Package physx.physics

Class PxRigidDynamic

    • Constructor Detail

      • PxRigidDynamic

        protected PxRigidDynamic()
      • PxRigidDynamic

        protected PxRigidDynamic​(long address)
    • Method Detail

      • wrapPointer

        public static PxRigidDynamic wrapPointer​(long address)
      • setKinematicTarget

        public void setKinematicTarget​(PxTransform destination)
        Parameters:
        destination - WebIDL type: PxTransform [Const, Ref]
      • getKinematicTarget

        public boolean getKinematicTarget​(PxTransform target)
        Parameters:
        target - WebIDL type: PxTransform [Ref]
        Returns:
        WebIDL type: boolean
      • isSleeping

        public boolean isSleeping()
        Returns:
        WebIDL type: boolean
      • setSleepThreshold

        public void setSleepThreshold​(float threshold)
        Parameters:
        threshold - WebIDL type: float
      • getSleepThreshold

        public float getSleepThreshold()
        Returns:
        WebIDL type: float
      • setStabilizationThreshold

        public void setStabilizationThreshold​(float threshold)
        Parameters:
        threshold - WebIDL type: float
      • getStabilizationThreshold

        public float getStabilizationThreshold()
        Returns:
        WebIDL type: float
      • setRigidDynamicLockFlag

        public void setRigidDynamicLockFlag​(int flag,
                                            boolean value)
        Parameters:
        flag - WebIDL type: PxRigidDynamicLockFlagEnum [enum]
        value - WebIDL type: boolean
      • setWakeCounter

        public void setWakeCounter​(float wakeCounterValue)
        Parameters:
        wakeCounterValue - WebIDL type: float
      • getWakeCounter

        public float getWakeCounter()
        Returns:
        WebIDL type: float
      • wakeUp

        public void wakeUp()
      • putToSleep

        public void putToSleep()
      • setSolverIterationCounts

        public void setSolverIterationCounts​(int minPositionIters)
        Parameters:
        minPositionIters - WebIDL type: unsigned long
      • setSolverIterationCounts

        public void setSolverIterationCounts​(int minPositionIters,
                                             int minVelocityIters)
        Parameters:
        minPositionIters - WebIDL type: unsigned long
        minVelocityIters - WebIDL type: unsigned long
      • getContactReportThreshold

        public float getContactReportThreshold()
        Returns:
        WebIDL type: float
      • setContactReportThreshold

        public void setContactReportThreshold​(float threshold)
        Parameters:
        threshold - WebIDL type: float