KS.Reactor.Server.PhysX.pxRigidDynamic Class Reference
Inheritance diagram for KS.Reactor.Server.PhysX.pxRigidDynamic:
KS.Reactor.Server.PhysX.pxRigidBody KS.Reactor.Server.PhysX.pxRigidActor KS.Reactor.Server.PhysX.pxActor KS.Reactor.Server.PhysX.UnmanagedPtr

Public Member Functions

void GetKinematicTarget (ref ksVector3 position, ref ksQuaternion rotation)
 
void SetKinematicTarget (ksVector3 position, ksQuaternion rotation)
 
void SetLockFlag (pxLockFlags flag, bool value)
 
void WakeUp ()
 
void PutToSleep ()
 
void GetSolverIterationCounts (ref uint positionIterations, ref uint velocityIterations)
 
void SetSolverIteractionCounts (uint positionIterations, uint velocityIterations)
 
- Public Member Functions inherited from KS.Reactor.Server.PhysX.pxRigidBody
void GetCenterOfMassLocalPose (ref ksVector3 position, ref ksQuaternion rotation)
 
void SetCenterOfMassLocalPose (ksVector3 position, ksQuaternion rotation)
 
void AddForce (ksVector3 force, pxForceMode forceMode=pxForceMode.FORCE, bool autoWake=true)
 
void AddForceAtPosition (ksVector3 force, ksVector3 position, pxForceMode forceMode=pxForceMode.FORCE, bool autoWake=true)
 
void ClearForce (pxForceMode forceMode=pxForceMode.FORCE)
 
void AddTorque (ksVector3 torque, pxForceMode forceMode=pxForceMode.FORCE, bool autoWake=true)
 
void ClearTorque (pxForceMode forceMode=pxForceMode.FORCE)
 
void SetRigidBodyFlag (pxRigidBodyFlags flag, bool value)
 
bool GetRigidBodyFlag (pxRigidBodyFlags flag)
 
void SetMassAndUpdateInertiaTensor (float mass)
 
void SetMassAndUpdateInertiaTensor (float mass, ksVector3 centorOfMass)
 
- Public Member Functions inherited from KS.Reactor.Server.PhysX.pxRigidActor
void AttachShape (pxShape shape)
 
void DetachShape (pxShape shape)
 
void GetGlobalPose (ref ksVector3 position, ref ksQuaternion rotation)
 
void SetGlobalPose (ref ksVector3 position, ref ksQuaternion rotation)
 
uint ShapeCount ()
 
ksConstList< pxShapeGetShapes ()
 
- Public Member Functions inherited from KS.Reactor.Server.PhysX.pxActor
void SetActorFlag (pxActorFlags flag, bool value)
 
bool GetActorFlag (pxActorFlags flag)
 
void SetGlobalPose (ksVector3 position, ksQuaternion rotation)
 
- Public Member Functions inherited from KS.Reactor.Server.PhysX.UnmanagedPtr
delegate void ReleaseCallback (IntPtr ptr)
 
void Release ()
 

Static Public Attributes

static float DefaultSleepThreshold = 0.005f
 Default sleep threshold. More...
 
static uint DefaultPositionIterations = 6
 Default number of position solver iterations. More...
 
static uint DefaultVelocityIterations = 1
 Default number of velocity solver iterations. More...
 
- Static Public Attributes inherited from KS.Reactor.Server.PhysX.pxRigidBody
static float DefaultMaxLinearSpeed = 1000.0f
 Default max linear speed. More...
 
static float DefaultMaxAngularSpeed = 50000.0f * ksMath.FDEGREES_TO_RADIANS
 Default max angular speed in radians per second. More...
 
static float DefaultMaxDepenetrationSpeed = 1000.0f
 Default max depenetration speed. More...
 

Properties

bool IsSleeping [get]
 
float SleepThreshold [get, set]
 
float StabilizationThreshold [get, set]
 
pxLockFlags LockFlags [get, set]
 
float WakeCounter [get, set]
 
float ContactReportThreshold [get, set]
 
- Properties inherited from KS.Reactor.Server.PhysX.pxRigidBody
float Mass [get, set]
 
ksVector3 MassSpaceInertiaTensor [get, set]
 
float LinearDamping [get, set]
 
float AngularDamping [get, set]
 
ksVector3 LinearVelocity [get, set]
 
ksVector3 AngularVelocity [get, set]
 
float MaxLinearVelocity [get, set]
 
float MaxAngularVelocity [get, set]
 
pxRigidBodyFlags RigidBodyFlags [get, set]
 
float MinCCDAdvanceCoefficient [get, set]
 
float MaxDepenetrationVelocity [get, set]
 
float MaxContactImpulse [get, set]
 
uint InternalIslandNodeIndex [get]
 
- Properties inherited from KS.Reactor.Server.PhysX.pxActor
pxActorTypes ActorType [get]
 
pxScene Scene [get]
 
ksBounds WorldBounds [get]
 
pxActorFlags ActorFlags [get, set]
 
byte DominanceGroup [get, set]
 
- Properties inherited from KS.Reactor.Server.PhysX.UnmanagedPtr
object UserData [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from KS.Reactor.Server.PhysX.UnmanagedPtr
static T Find< T > (IntPtr ptr)
 
- Protected Member Functions inherited from KS.Reactor.Server.PhysX.UnmanagedPtr
void SetUnmanagedPtr (IntPtr ptr, ReleaseCallback callback)
 

Member Data Documentation

◆ DefaultPositionIterations

uint KS.Reactor.Server.PhysX.pxRigidDynamic.DefaultPositionIterations = 6
static

Default number of position solver iterations.

◆ DefaultSleepThreshold

float KS.Reactor.Server.PhysX.pxRigidDynamic.DefaultSleepThreshold = 0.005f
static

Default sleep threshold.

◆ DefaultVelocityIterations

uint KS.Reactor.Server.PhysX.pxRigidDynamic.DefaultVelocityIterations = 1
static

Default number of velocity solver iterations.