public class PxRigidBodyExt extends NativeObject
NativeObject.Allocator<T>address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxRigidBodyExt() |
protected |
PxRigidBodyExt(long address) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addForceAtLocalPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos) |
static void |
addForceAtLocalPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos,
int mode) |
static void |
addForceAtLocalPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos,
int mode,
boolean wakeup) |
static void |
addForceAtPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos) |
static void |
addForceAtPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos,
int mode) |
static void |
addForceAtPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos,
int mode,
boolean wakeup) |
static void |
addLocalForceAtLocalPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos) |
static void |
addLocalForceAtLocalPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos,
int mode) |
static void |
addLocalForceAtLocalPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos,
int mode,
boolean wakeup) |
static void |
addLocalForceAtPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos) |
static void |
addLocalForceAtPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos,
int mode) |
static void |
addLocalForceAtPos(PxRigidBody body,
PxVec3 force,
PxVec3 pos,
int mode,
boolean wakeup) |
static void |
computeLinearAngularImpulse(PxRigidBody body,
PxTransform globalPose,
PxVec3 point,
PxVec3 impulse,
float invMassScale,
float invInertiaScale,
PxVec3 linearImpulse,
PxVec3 angularImpulse) |
static void |
computeVelocityDeltaFromImpulse(PxRigidBody body,
PxTransform globalPose,
PxVec3 point,
PxVec3 impulse,
float invMassScale,
float invInertiaScale,
PxVec3 deltaLinearVelocity,
PxVec3 deltaAngularVelocity) |
static void |
computeVelocityDeltaFromImpulse(PxRigidBody body,
PxVec3 impulsiveForce,
PxVec3 impulsiveTorque,
PxVec3 deltaLinearVelocity,
PxVec3 deltaAngularVelocity) |
void |
destroy() |
static PxVec3 |
getLocalVelocityAtLocalPos(PxRigidBody body,
PxVec3 pos) |
static PxVec3 |
getVelocityAtOffset(PxRigidBody body,
PxVec3 pos) |
static PxVec3 |
getVelocityAtPos(PxRigidBody body,
PxVec3 pos) |
static boolean |
setMassAndUpdateInertia(PxRigidBody body,
float mass) |
static boolean |
setMassAndUpdateInertia(PxRigidBody body,
float mass,
PxVec3 massLocalPose) |
static boolean |
setMassAndUpdateInertia(PxRigidBody body,
float mass,
PxVec3 massLocalPose,
boolean includeNonSimShapes) |
static boolean |
updateMassAndInertia(PxRigidBody body,
float density) |
static boolean |
updateMassAndInertia(PxRigidBody body,
float density,
PxVec3 massLocalPose) |
static boolean |
updateMassAndInertia(PxRigidBody body,
float density,
PxVec3 massLocalPose,
boolean includeNonSimShapes) |
static PxRigidBodyExt |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodeprotected PxRigidBodyExt()
protected PxRigidBodyExt(long address)
public static PxRigidBodyExt wrapPointer(long address)
public void destroy()
public static boolean updateMassAndInertia(PxRigidBody body, float density)
body - WebIDL type: PxRigidBody [Ref]density - WebIDL type: floatpublic static boolean updateMassAndInertia(PxRigidBody body, float density, PxVec3 massLocalPose)
body - WebIDL type: PxRigidBody [Ref]density - WebIDL type: floatmassLocalPose - WebIDL type: PxVec3public static boolean updateMassAndInertia(PxRigidBody body, float density, PxVec3 massLocalPose, boolean includeNonSimShapes)
body - WebIDL type: PxRigidBody [Ref]density - WebIDL type: floatmassLocalPose - WebIDL type: PxVec3includeNonSimShapes - WebIDL type: booleanpublic static boolean setMassAndUpdateInertia(PxRigidBody body, float mass)
body - WebIDL type: PxRigidBody [Ref]mass - WebIDL type: floatpublic static boolean setMassAndUpdateInertia(PxRigidBody body, float mass, PxVec3 massLocalPose)
body - WebIDL type: PxRigidBody [Ref]mass - WebIDL type: floatmassLocalPose - WebIDL type: PxVec3public static boolean setMassAndUpdateInertia(PxRigidBody body, float mass, PxVec3 massLocalPose, boolean includeNonSimShapes)
body - WebIDL type: PxRigidBody [Ref]mass - WebIDL type: floatmassLocalPose - WebIDL type: PxVec3includeNonSimShapes - WebIDL type: booleanpublic static void addForceAtPos(PxRigidBody body, PxVec3 force, PxVec3 pos)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]public static void addForceAtPos(PxRigidBody body, PxVec3 force, PxVec3 pos, int mode)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]public static void addForceAtPos(PxRigidBody body, PxVec3 force, PxVec3 pos, int mode, boolean wakeup)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]wakeup - WebIDL type: booleanpublic static void addForceAtLocalPos(PxRigidBody body, PxVec3 force, PxVec3 pos)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]public static void addForceAtLocalPos(PxRigidBody body, PxVec3 force, PxVec3 pos, int mode)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]public static void addForceAtLocalPos(PxRigidBody body, PxVec3 force, PxVec3 pos, int mode, boolean wakeup)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]wakeup - WebIDL type: booleanpublic static void addLocalForceAtPos(PxRigidBody body, PxVec3 force, PxVec3 pos)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]public static void addLocalForceAtPos(PxRigidBody body, PxVec3 force, PxVec3 pos, int mode)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]public static void addLocalForceAtPos(PxRigidBody body, PxVec3 force, PxVec3 pos, int mode, boolean wakeup)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]wakeup - WebIDL type: booleanpublic static void addLocalForceAtLocalPos(PxRigidBody body, PxVec3 force, PxVec3 pos)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]public static void addLocalForceAtLocalPos(PxRigidBody body, PxVec3 force, PxVec3 pos, int mode)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]public static void addLocalForceAtLocalPos(PxRigidBody body, PxVec3 force, PxVec3 pos, int mode, boolean wakeup)
body - WebIDL type: PxRigidBody [Ref]force - WebIDL type: PxVec3 [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]mode - WebIDL type: PxForceModeEnum [enum]wakeup - WebIDL type: booleanpublic static PxVec3 getVelocityAtPos(PxRigidBody body, PxVec3 pos)
body - WebIDL type: PxRigidBody [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]PxVec3 [Value]public static PxVec3 getLocalVelocityAtLocalPos(PxRigidBody body, PxVec3 pos)
body - WebIDL type: PxRigidBody [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]PxVec3 [Value]public static PxVec3 getVelocityAtOffset(PxRigidBody body, PxVec3 pos)
body - WebIDL type: PxRigidBody [Const, Ref]pos - WebIDL type: PxVec3 [Const, Ref]PxVec3 [Value]public static void computeVelocityDeltaFromImpulse(PxRigidBody body, PxVec3 impulsiveForce, PxVec3 impulsiveTorque, PxVec3 deltaLinearVelocity, PxVec3 deltaAngularVelocity)
body - WebIDL type: PxRigidBody [Const, Ref]impulsiveForce - WebIDL type: PxVec3 [Const, Ref]impulsiveTorque - WebIDL type: PxVec3 [Const, Ref]deltaLinearVelocity - WebIDL type: PxVec3 [Ref]deltaAngularVelocity - WebIDL type: PxVec3 [Ref]public static void computeVelocityDeltaFromImpulse(PxRigidBody body, PxTransform globalPose, PxVec3 point, PxVec3 impulse, float invMassScale, float invInertiaScale, PxVec3 deltaLinearVelocity, PxVec3 deltaAngularVelocity)
body - WebIDL type: PxRigidBody [Const, Ref]globalPose - WebIDL type: PxTransform [Const, Ref]point - WebIDL type: PxVec3 [Const, Ref]impulse - WebIDL type: PxVec3 [Const, Ref]invMassScale - WebIDL type: floatinvInertiaScale - WebIDL type: floatdeltaLinearVelocity - WebIDL type: PxVec3 [Ref]deltaAngularVelocity - WebIDL type: PxVec3 [Ref]public static void computeLinearAngularImpulse(PxRigidBody body, PxTransform globalPose, PxVec3 point, PxVec3 impulse, float invMassScale, float invInertiaScale, PxVec3 linearImpulse, PxVec3 angularImpulse)
body - WebIDL type: PxRigidBody [Const, Ref]globalPose - WebIDL type: PxTransform [Const, Ref]point - WebIDL type: PxVec3 [Const, Ref]impulse - WebIDL type: PxVec3 [Const, Ref]invMassScale - WebIDL type: floatinvInertiaScale - WebIDL type: floatlinearImpulse - WebIDL type: PxVec3 [Ref]angularImpulse - WebIDL type: PxVec3 [Ref]