java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.physics.PxArticulationReducedCoordinate
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLoopJoint(PxConstraint joint) voidapplyCache(PxArticulationCache cache, PxArticulationCacheFlags flags) voidapplyCache(PxArticulationCache cache, PxArticulationCacheFlags flags, boolean autowake) arrayGet(long baseAddress, int index) voidvoidvoidvoidvoidvoidvoidvoidvoidcreateLink(PxArticulationLink parent, PxTransform pose) createSensor(PxArticulationLink link, PxTransform relativePose) voiddestroy()intintintgetDofs()intgetLinkAcceleration(int linkId) floatfloatgetName()intintintintintintgetScene()floatfloatfloatgetWorldBounds(float inflation) booleanvoidvoidremoveLoopJoint(PxConstraint joint) voidsetArticulationFlag(PxArticulationFlagEnum flag, boolean value) voidvoidsetMaxCOMAngularVelocity(float maxAngularVelocity) voidsetMaxCOMLinearVelocity(float maxLinerVelocity) voidvoidsetRootAngularVelocity(PxVec3 angularVelocity) voidsetRootAngularVelocity(PxVec3 angularVelocity, boolean autowake) voidsetRootGlobalPose(PxTransform pose) voidsetRootGlobalPose(PxTransform pose, boolean autowake) voidsetRootLinearVelocity(PxVec3 linearVelocity) voidsetRootLinearVelocity(PxVec3 linearVelocity, boolean autowake) voidsetSleepThreshold(float threshold) voidsetSolverIterationCounts(int minPositionIters) voidsetSolverIterationCounts(int minPositionIters, int minVelocityIters) voidsetStabilizationThreshold(float threshold) voidsetWakeCounter(float wakeCounterValue) voidvoidwakeUp()wrapPointer(long address) voidzeroCache(PxArticulationCache cache) Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlagsMethods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
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
-
arrayGet
-
destroy
public void destroy() -
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 longminVelocityIters- 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
- 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
- Parameters:
name- WebIDL type: DOMString [Const]
-
getName
- Returns:
- WebIDL type: DOMString [Const]
-
getWorldBounds
- Returns:
- WebIDL type:
PxBounds3[Value]
-
getWorldBounds
- Parameters:
inflation- WebIDL type: float- Returns:
- WebIDL type:
PxBounds3[Value]
-
getAggregate
- Returns:
- WebIDL type:
PxAggregate
-
setArticulationFlags
- Parameters:
flags- WebIDL type:PxArticulationFlags[Ref]
-
setArticulationFlag
- Parameters:
flag- WebIDL type:PxArticulationFlagEnum[enum]value- WebIDL type: boolean
-
getArticulationFlags
- Returns:
- WebIDL type:
PxArticulationFlags[Value]
-
getDofs
public int getDofs()- Returns:
- WebIDL type: unsigned long
-
createCache
- Returns:
- WebIDL type:
PxArticulationCache
-
getCacheDataSize
public int getCacheDataSize()- Returns:
- WebIDL type: unsigned long
-
zeroCache
- Parameters:
cache- WebIDL type:PxArticulationCache[Ref]
-
applyCache
- Parameters:
cache- WebIDL type:PxArticulationCache[Ref]flags- WebIDL type:PxArticulationCacheFlags[Ref]
-
applyCache
- Parameters:
cache- WebIDL type:PxArticulationCache[Ref]flags- WebIDL type:PxArticulationCacheFlags[Ref]autowake- WebIDL type: boolean
-
copyInternalStateToCache
- Parameters:
cache- WebIDL type:PxArticulationCache[Ref]flags- WebIDL type:PxArticulationCacheFlags[Const, Ref]
-
commonInit
public void commonInit() -
computeGeneralizedGravityForce
- Parameters:
cache- WebIDL type:PxArticulationCache[Ref]
-
computeCoriolisAndCentrifugalForce
- Parameters:
cache- WebIDL type:PxArticulationCache[Ref]
-
computeGeneralizedExternalForce
- Parameters:
cache- WebIDL type:PxArticulationCache[Ref]
-
computeJointAcceleration
- Parameters:
cache- WebIDL type:PxArticulationCache[Ref]
-
computeJointForce
- Parameters:
cache- WebIDL type:PxArticulationCache[Ref]
-
computeCoefficientMatrix
- Parameters:
cache- WebIDL type:PxArticulationCache[Ref]
-
computeGeneralizedMassMatrix
- Parameters:
cache- WebIDL type:PxArticulationCache[Ref]
-
addLoopJoint
- Parameters:
joint- WebIDL type:PxConstraint
-
removeLoopJoint
- Parameters:
joint- WebIDL type:PxConstraint
-
getNbLoopJoints
public int getNbLoopJoints()- Returns:
- WebIDL type: unsigned long
-
getCoefficientMatrixSize
public int getCoefficientMatrixSize()- Returns:
- WebIDL type: unsigned long
-
setRootGlobalPose
- Parameters:
pose- WebIDL type:PxTransform[Const, Ref]
-
setRootGlobalPose
- Parameters:
pose- WebIDL type:PxTransform[Const, Ref]autowake- WebIDL type: boolean
-
getRootGlobalPose
- Returns:
- WebIDL type:
PxTransform[Value]
-
setRootLinearVelocity
- Parameters:
linearVelocity- WebIDL type:PxVec3[Const, Ref]
-
setRootLinearVelocity
- Parameters:
linearVelocity- WebIDL type:PxVec3[Const, Ref]autowake- WebIDL type: boolean
-
getRootLinearVelocity
- Returns:
- WebIDL type:
PxVec3[Value]
-
setRootAngularVelocity
- Parameters:
angularVelocity- WebIDL type:PxVec3[Const, Ref]
-
setRootAngularVelocity
- Parameters:
angularVelocity- WebIDL type:PxVec3[Const, Ref]autowake- WebIDL type: boolean
-
getRootAngularVelocity
- Returns:
- WebIDL type:
PxVec3[Value]
-
getLinkAcceleration
- Parameters:
linkId- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxSpatialVelocity[Value]
-
getGpuArticulationIndex
public int getGpuArticulationIndex()- Returns:
- WebIDL type: unsigned long
-
createSpatialTendon
- Returns:
- WebIDL type:
PxArticulationSpatialTendon
-
createFixedTendon
- Returns:
- WebIDL type:
PxArticulationFixedTendon
-
createSensor
- Parameters:
link- WebIDL type:PxArticulationLinkrelativePose- 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
- Parameters:
flags- WebIDL type:PxArticulationKinematicFlags[Ref]
-