public class PxRigidBody extends PxRigidActor
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxRigidBody() |
protected |
PxRigidBody(long address) |
attachShape, 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 PxRigidBody()
protected PxRigidBody(long address)
public static PxRigidBody wrapPointer(long address)
public void setCMassLocalPose(PxTransform pose)
pose - WebIDL type: PxTransform [Const, Ref]public PxTransform getCMassLocalPose()
PxTransform [Value]public void setMass(float mass)
mass - WebIDL type: floatpublic float getMass()
public float getInvMass()
public void setMassSpaceInertiaTensor(PxVec3 m)
m - WebIDL type: PxVec3 [Const, Ref]public PxVec3 getMassSpaceInertiaTensor()
PxVec3 [Value]public PxVec3 getMassSpaceInvInertiaTensor()
PxVec3 [Value]public void setLinearDamping(float linDamp)
linDamp - WebIDL type: floatpublic float getLinearDamping()
public void setAngularDamping(float angDamp)
angDamp - WebIDL type: floatpublic float getAngularDamping()
public void setLinearVelocity(PxVec3 linVel)
linVel - WebIDL type: PxVec3 [Const, Ref]public void setLinearVelocity(PxVec3 linVel, boolean autowake)
linVel - WebIDL type: PxVec3 [Const, Ref]autowake - WebIDL type: booleanpublic void setAngularVelocity(PxVec3 angVel)
angVel - WebIDL type: PxVec3 [Const, Ref]public void setAngularVelocity(PxVec3 angVel, boolean autowake)
angVel - WebIDL type: PxVec3 [Const, Ref]autowake - WebIDL type: booleanpublic float getMaxLinearVelocity()
public void setMaxLinearVelocity(float maxLinVel)
maxLinVel - WebIDL type: floatpublic float getMaxAngularVelocity()
public void setMaxAngularVelocity(float maxAngVel)
maxAngVel - WebIDL type: floatpublic void addForce(PxVec3 force, int mode)
force - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]public void addForce(PxVec3 force, int mode, boolean autowake)
force - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]autowake - WebIDL type: booleanpublic void addTorque(PxVec3 torque)
torque - WebIDL type: PxVec3 [Const, Ref]public void addTorque(PxVec3 torque, int mode)
torque - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]public void addTorque(PxVec3 torque, int mode, boolean autowake)
torque - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]autowake - WebIDL type: booleanpublic void clearForce(int mode)
mode - WebIDL type: PxForceModeEnum [enum]public void clearTorque(int mode)
mode - WebIDL type: PxForceModeEnum [enum]public void setForceAndTorque(PxVec3 force, PxVec3 torque, int mode)
force - WebIDL type: PxVec3 [Const, Ref]torque - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]public void setRigidBodyFlag(int flag,
boolean value)
flag - WebIDL type: PxRigidBodyFlagEnum [enum]value - WebIDL type: booleanpublic void setRigidBodyFlags(PxRigidBodyFlags inFlags)
inFlags - WebIDL type: PxRigidBodyFlags [Ref]public PxRigidBodyFlags getRigidBodyFlags()
PxRigidBodyFlags [Value]public void setMinCCDAdvanceCoefficient(float advanceCoefficient)
advanceCoefficient - WebIDL type: floatpublic float getMinCCDAdvanceCoefficient()
public void setMaxDepenetrationVelocity(float biasClamp)
biasClamp - WebIDL type: floatpublic float getMaxDepenetrationVelocity()
public void setMaxContactImpulse(float maxImpulse)
maxImpulse - WebIDL type: floatpublic float getMaxContactImpulse()
public int getInternalIslandNodeIndex()