Package physx.physics
Class PxRigidDynamic
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.physics.PxActor
-
- physx.physics.PxRigidActor
-
- physx.physics.PxRigidBody
-
- physx.physics.PxRigidDynamic
-
public class PxRigidDynamic extends PxRigidBody
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxRigidDynamic()protectedPxRigidDynamic(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetContactReportThreshold()PxRigidDynamicLockFlagsgetRigidDynamicLockFlags()floatgetSleepThreshold()floatgetStabilizationThreshold()floatgetWakeCounter()booleanisSleeping()voidputToSleep()voidsetContactReportThreshold(float threshold)voidsetRigidDynamicLockFlag(int flag, boolean value)voidsetRigidDynamicLockFlags(PxRigidDynamicLockFlags flags)voidsetSleepThreshold(float threshold)voidsetSolverIterationCounts(int minPositionIters)voidsetSolverIterationCounts(int minPositionIters, int minVelocityIters)voidsetStabilizationThreshold(float threshold)voidsetWakeCounter(float wakeCounterValue)voidwakeUp()static PxRigidDynamicwrapPointer(long address)-
Methods inherited from class physx.physics.PxRigidBody
addForce, addForce, addForce, addTorque, addTorque, addTorque, clearForce, clearTorque, getAngularDamping, getAngularVelocity, getCMassLocalPose, getInternalIslandNodeIndex, getInvMass, getLinearDamping, getLinearVelocity, getMass, getMassSpaceInertiaTensor, getMassSpaceInvInertiaTensor, getMaxAngularVelocity, getMaxContactImpulse, getMaxDepenetrationVelocity, getMaxLinearVelocity, getMinCCDAdvanceCoefficient, getRigidBodyFlags, setAngularDamping, setAngularVelocity, setAngularVelocity, setCMassLocalPose, setForceAndTorque, setForceAndTorque, setLinearDamping, setLinearVelocity, setLinearVelocity, setMass, setMassSpaceInertiaTensor, setMaxAngularVelocity, setMaxContactImpulse, setMaxDepenetrationVelocity, setMaxLinearVelocity, setMinCCDAdvanceCoefficient, setRigidBodyFlag, setRigidBodyFlags
-
Methods inherited from class physx.physics.PxRigidActor
attachShape, detachShape, detachShape, getGlobalPose, getNbShapes, setGlobalPose, setGlobalPose
-
Methods inherited from class physx.physics.PxActor
getActorFlags, getDominanceGroup, getName, getOwnerClient, getScene, getType, getWorldBounds, getWorldBounds, setActorFlags, setDominanceGroup, setName, setOwnerClient
-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxRigidDynamic wrapPointer(long address)
-
isSleeping
public boolean isSleeping()
- Returns:
- boolean
-
setSleepThreshold
public void setSleepThreshold(float threshold)
- Parameters:
threshold- float
-
getSleepThreshold
public float getSleepThreshold()
- Returns:
- float
-
setStabilizationThreshold
public void setStabilizationThreshold(float threshold)
- Parameters:
threshold- float
-
getStabilizationThreshold
public float getStabilizationThreshold()
- Returns:
- float
-
getRigidDynamicLockFlags
public PxRigidDynamicLockFlags getRigidDynamicLockFlags()
- Returns:
PxRigidDynamicLockFlags[Value]
-
setRigidDynamicLockFlag
public void setRigidDynamicLockFlag(int flag, boolean value)- Parameters:
flag-PxRigidDynamicLockFlagEnum[enum]value- boolean
-
setRigidDynamicLockFlags
public void setRigidDynamicLockFlags(PxRigidDynamicLockFlags flags)
- Parameters:
flags-PxRigidDynamicLockFlags[Ref]
-
setWakeCounter
public void setWakeCounter(float wakeCounterValue)
- Parameters:
wakeCounterValue- float
-
getWakeCounter
public float getWakeCounter()
- Returns:
- float
-
wakeUp
public void wakeUp()
-
putToSleep
public void putToSleep()
-
setSolverIterationCounts
public void setSolverIterationCounts(int minPositionIters)
- Parameters:
minPositionIters- unsigned long
-
setSolverIterationCounts
public void setSolverIterationCounts(int minPositionIters, int minVelocityIters)- Parameters:
minPositionIters- unsigned longminVelocityIters- unsigned long
-
getContactReportThreshold
public float getContactReportThreshold()
- Returns:
- float
-
setContactReportThreshold
public void setContactReportThreshold(float threshold)
- Parameters:
threshold- float
-
-