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, isExternallyAllocated
-
-
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()booleangetKinematicTarget(PxTransform target)PxRigidDynamicLockFlagsgetRigidDynamicLockFlags()floatgetSleepThreshold()floatgetStabilizationThreshold()floatgetWakeCounter()booleanisSleeping()voidputToSleep()voidsetContactReportThreshold(float threshold)voidsetKinematicTarget(PxTransform destination)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, getUserData, getWorldBounds, getWorldBounds, setActorFlags, setDominanceGroup, setName, setOwnerClient, setUserData
-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxRigidDynamic wrapPointer(long address)
-
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(int 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]
-
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 longminVelocityIters- WebIDL type: unsigned long
-
getContactReportThreshold
public float getContactReportThreshold()
- Returns:
- WebIDL type: float
-
setContactReportThreshold
public void setContactReportThreshold(float threshold)
- Parameters:
threshold- WebIDL type: float
-
-