public class PxRigidDynamic extends PxRigidBody
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxRigidDynamic() |
protected |
PxRigidDynamic(long address) |
| Modifier and Type | Method and Description |
|---|---|
float |
getContactReportThreshold() |
boolean |
getKinematicTarget(PxTransform target) |
PxRigidDynamicLockFlags |
getRigidDynamicLockFlags() |
float |
getSleepThreshold() |
float |
getStabilizationThreshold() |
float |
getWakeCounter() |
boolean |
isSleeping() |
void |
putToSleep() |
void |
setContactReportThreshold(float threshold) |
void |
setKinematicTarget(PxTransform destination) |
void |
setRigidDynamicLockFlag(int flag,
boolean value) |
void |
setRigidDynamicLockFlags(PxRigidDynamicLockFlags flags) |
void |
setSleepThreshold(float threshold) |
void |
setSolverIterationCounts(int minPositionIters) |
void |
setSolverIterationCounts(int minPositionIters,
int minVelocityIters) |
void |
setStabilizationThreshold(float threshold) |
void |
setWakeCounter(float wakeCounterValue) |
void |
wakeUp() |
static PxRigidDynamic |
wrapPointer(long address) |
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, setRigidBodyFlagsattachShape, detachShape, detachShape, getGlobalPose, getNbShapes, setGlobalPose, setGlobalPosegetActorFlags, getDominanceGroup, getName, getOwnerClient, getScene, getType, getUserData, getWorldBounds, getWorldBounds, setActorFlags, setDominanceGroup, setName, setOwnerClient, setUserDatagetBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlagscheckNotNull, equals, getAddress, hashCodeprotected PxRigidDynamic()
protected PxRigidDynamic(long address)
public static PxRigidDynamic wrapPointer(long address)
public void setKinematicTarget(PxTransform destination)
destination - WebIDL type: PxTransform [Const, Ref]public boolean getKinematicTarget(PxTransform target)
target - WebIDL type: PxTransform [Ref]public boolean isSleeping()
public void setSleepThreshold(float threshold)
threshold - WebIDL type: floatpublic float getSleepThreshold()
public void setStabilizationThreshold(float threshold)
threshold - WebIDL type: floatpublic float getStabilizationThreshold()
public PxRigidDynamicLockFlags getRigidDynamicLockFlags()
PxRigidDynamicLockFlags [Value]public void setRigidDynamicLockFlag(int flag,
boolean value)
flag - WebIDL type: PxRigidDynamicLockFlagEnum [enum]value - WebIDL type: booleanpublic void setRigidDynamicLockFlags(PxRigidDynamicLockFlags flags)
flags - WebIDL type: PxRigidDynamicLockFlags [Ref]public void setWakeCounter(float wakeCounterValue)
wakeCounterValue - WebIDL type: floatpublic float getWakeCounter()
public void wakeUp()
public void putToSleep()
public void setSolverIterationCounts(int minPositionIters)
minPositionIters - WebIDL type: unsigned longpublic void setSolverIterationCounts(int minPositionIters,
int minVelocityIters)
minPositionIters - WebIDL type: unsigned longminVelocityIters - WebIDL type: unsigned longpublic float getContactReportThreshold()
public void setContactReportThreshold(float threshold)
threshold - WebIDL type: float