Package physx.physics

Class PxRigidDynamic


public class PxRigidDynamic extends PxRigidBody
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxRigidDynamic

      protected PxRigidDynamic()
    • PxRigidDynamic

      protected PxRigidDynamic(long address)
  • Method Details

    • wrapPointer

      public static PxRigidDynamic wrapPointer(long address)
    • arrayGet

      public static PxRigidDynamic arrayGet(long baseAddress, int index)
    • 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
    • getRigidDynamicLockFlags

      public PxRigidDynamicLockFlags getRigidDynamicLockFlags()
      Returns:
      WebIDL type: PxRigidDynamicLockFlags [Value]
    • setRigidDynamicLockFlag

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

      public void setRigidDynamicLockFlags(PxRigidDynamicLockFlags flags)
      Parameters:
      flags - WebIDL type: PxRigidDynamicLockFlags [Ref]
    • setLinearVelocity

      public void setLinearVelocity(PxVec3 linVel)
      Parameters:
      linVel - WebIDL type: PxVec3 [Const, Ref]
    • setLinearVelocity

      public void setLinearVelocity(PxVec3 linVel, boolean autowake)
      Parameters:
      linVel - WebIDL type: PxVec3 [Const, Ref]
      autowake - WebIDL type: boolean
    • setAngularVelocity

      public void setAngularVelocity(PxVec3 angVel)
      Parameters:
      angVel - WebIDL type: PxVec3 [Const, Ref]
    • setAngularVelocity

      public void setAngularVelocity(PxVec3 angVel, boolean autowake)
      Parameters:
      angVel - WebIDL type: PxVec3 [Const, Ref]
      autowake - 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