Package physx.physics

Class PxArticulationReducedCoordinate

java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.physics.PxArticulationReducedCoordinate

public class PxArticulationReducedCoordinate extends PxBase
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxArticulationReducedCoordinate

      protected PxArticulationReducedCoordinate()
    • PxArticulationReducedCoordinate

      protected PxArticulationReducedCoordinate(long address)
  • Method Details

    • wrapPointer

      public static PxArticulationReducedCoordinate wrapPointer(long address)
    • arrayGet

      public static PxArticulationReducedCoordinate arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
    • getScene

      public PxScene getScene()
      Returns:
      WebIDL type: PxScene
    • 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
    • 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
    • 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()
    • setMaxCOMLinearVelocity

      public void setMaxCOMLinearVelocity(float maxLinerVelocity)
      Parameters:
      maxLinerVelocity - WebIDL type: float
    • getMaxCOMLinearVelocity

      public float getMaxCOMLinearVelocity()
      Returns:
      WebIDL type: float
    • setMaxCOMAngularVelocity

      public void setMaxCOMAngularVelocity(float maxAngularVelocity)
      Parameters:
      maxAngularVelocity - WebIDL type: float
    • getMaxCOMAngularVelocity

      public float getMaxCOMAngularVelocity()
      Returns:
      WebIDL type: float
    • createLink

      public PxArticulationLink createLink(PxArticulationLink parent, PxTransform pose)
      Parameters:
      parent - WebIDL type: PxArticulationLink [Nullable]
      pose - WebIDL type: PxTransform [Const, Ref]
      Returns:
      WebIDL type: PxArticulationLink
    • getNbLinks

      public int getNbLinks()
      Returns:
      WebIDL type: unsigned long
    • getNbShapes

      public int getNbShapes()
      Returns:
      WebIDL type: unsigned long
    • setName

      public void setName(String name)
      Parameters:
      name - WebIDL type: DOMString [Const]
    • getName

      public String getName()
      Returns:
      WebIDL type: DOMString [Const]
    • getWorldBounds

      public PxBounds3 getWorldBounds()
      Returns:
      WebIDL type: PxBounds3 [Value]
    • getWorldBounds

      public PxBounds3 getWorldBounds(float inflation)
      Parameters:
      inflation - WebIDL type: float
      Returns:
      WebIDL type: PxBounds3 [Value]
    • getAggregate

      public PxAggregate getAggregate()
      Returns:
      WebIDL type: PxAggregate
    • setArticulationFlags

      public void setArticulationFlags(PxArticulationFlags flags)
      Parameters:
      flags - WebIDL type: PxArticulationFlags [Ref]
    • setArticulationFlag

      public void setArticulationFlag(PxArticulationFlagEnum flag, boolean value)
      Parameters:
      flag - WebIDL type: PxArticulationFlagEnum [enum]
      value - WebIDL type: boolean
    • getArticulationFlags

      public PxArticulationFlags getArticulationFlags()
      Returns:
      WebIDL type: PxArticulationFlags [Value]
    • getDofs

      public int getDofs()
      Returns:
      WebIDL type: unsigned long
    • createCache

      public PxArticulationCache createCache()
      Returns:
      WebIDL type: PxArticulationCache
    • getCacheDataSize

      public int getCacheDataSize()
      Returns:
      WebIDL type: unsigned long
    • zeroCache

      public void zeroCache(PxArticulationCache cache)
      Parameters:
      cache - WebIDL type: PxArticulationCache [Ref]
    • applyCache

      public void applyCache(PxArticulationCache cache, PxArticulationCacheFlags flags)
      Parameters:
      cache - WebIDL type: PxArticulationCache [Ref]
      flags - WebIDL type: PxArticulationCacheFlags [Ref]
    • applyCache

      public void applyCache(PxArticulationCache cache, PxArticulationCacheFlags flags, boolean autowake)
      Parameters:
      cache - WebIDL type: PxArticulationCache [Ref]
      flags - WebIDL type: PxArticulationCacheFlags [Ref]
      autowake - WebIDL type: boolean
    • copyInternalStateToCache

      public void copyInternalStateToCache(PxArticulationCache cache, PxArticulationCacheFlags flags)
      Parameters:
      cache - WebIDL type: PxArticulationCache [Ref]
      flags - WebIDL type: PxArticulationCacheFlags [Const, Ref]
    • commonInit

      public void commonInit()
    • computeGeneralizedGravityForce

      public void computeGeneralizedGravityForce(PxArticulationCache cache)
      Parameters:
      cache - WebIDL type: PxArticulationCache [Ref]
    • computeCoriolisAndCentrifugalForce

      public void computeCoriolisAndCentrifugalForce(PxArticulationCache cache)
      Parameters:
      cache - WebIDL type: PxArticulationCache [Ref]
    • computeGeneralizedExternalForce

      public void computeGeneralizedExternalForce(PxArticulationCache cache)
      Parameters:
      cache - WebIDL type: PxArticulationCache [Ref]
    • computeJointAcceleration

      public void computeJointAcceleration(PxArticulationCache cache)
      Parameters:
      cache - WebIDL type: PxArticulationCache [Ref]
    • computeJointForce

      public void computeJointForce(PxArticulationCache cache)
      Parameters:
      cache - WebIDL type: PxArticulationCache [Ref]
    • computeCoefficientMatrix

      public void computeCoefficientMatrix(PxArticulationCache cache)
      Parameters:
      cache - WebIDL type: PxArticulationCache [Ref]
    • computeGeneralizedMassMatrix

      public void computeGeneralizedMassMatrix(PxArticulationCache cache)
      Parameters:
      cache - WebIDL type: PxArticulationCache [Ref]
    • addLoopJoint

      public void addLoopJoint(PxConstraint joint)
      Parameters:
      joint - WebIDL type: PxConstraint
    • removeLoopJoint

      public void removeLoopJoint(PxConstraint joint)
      Parameters:
      joint - WebIDL type: PxConstraint
    • getNbLoopJoints

      public int getNbLoopJoints()
      Returns:
      WebIDL type: unsigned long
    • getCoefficientMatrixSize

      public int getCoefficientMatrixSize()
      Returns:
      WebIDL type: unsigned long
    • setRootGlobalPose

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

      public void setRootGlobalPose(PxTransform pose, boolean autowake)
      Parameters:
      pose - WebIDL type: PxTransform [Const, Ref]
      autowake - WebIDL type: boolean
    • getRootGlobalPose

      public PxTransform getRootGlobalPose()
      Returns:
      WebIDL type: PxTransform [Value]
    • setRootLinearVelocity

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

      public void setRootLinearVelocity(PxVec3 linearVelocity, boolean autowake)
      Parameters:
      linearVelocity - WebIDL type: PxVec3 [Const, Ref]
      autowake - WebIDL type: boolean
    • getRootLinearVelocity

      public PxVec3 getRootLinearVelocity()
      Returns:
      WebIDL type: PxVec3 [Value]
    • setRootAngularVelocity

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

      public void setRootAngularVelocity(PxVec3 angularVelocity, boolean autowake)
      Parameters:
      angularVelocity - WebIDL type: PxVec3 [Const, Ref]
      autowake - WebIDL type: boolean
    • getRootAngularVelocity

      public PxVec3 getRootAngularVelocity()
      Returns:
      WebIDL type: PxVec3 [Value]
    • getLinkAcceleration

      public PxSpatialVelocity getLinkAcceleration(int linkId)
      Parameters:
      linkId - WebIDL type: unsigned long
      Returns:
      WebIDL type: PxSpatialVelocity [Value]
    • getGpuArticulationIndex

      public int getGpuArticulationIndex()
      Returns:
      WebIDL type: unsigned long
    • createSpatialTendon

      public PxArticulationSpatialTendon createSpatialTendon()
      Returns:
      WebIDL type: PxArticulationSpatialTendon
    • createFixedTendon

      public PxArticulationFixedTendon createFixedTendon()
      Returns:
      WebIDL type: PxArticulationFixedTendon
    • createSensor

      public PxArticulationSensor createSensor(PxArticulationLink link, PxTransform relativePose)
      Parameters:
      link - WebIDL type: PxArticulationLink
      relativePose - WebIDL type: PxTransform [Const, Ref]
      Returns:
      WebIDL type: PxArticulationSensor
    • getNbSpatialTendons

      public int getNbSpatialTendons()
      Returns:
      WebIDL type: unsigned long
    • getNbFixedTendons

      public int getNbFixedTendons()
      Returns:
      WebIDL type: unsigned long
    • getNbSensors

      public int getNbSensors()
      Returns:
      WebIDL type: unsigned long
    • updateKinematic

      public void updateKinematic(PxArticulationKinematicFlags flags)
      Parameters:
      flags - WebIDL type: PxArticulationKinematicFlags [Ref]