Example #1
0
 public static extern void GetTransformComponents(IntPtr transform, [Out] PhysXVec3 position, [Out] PhysXQuat rotation);
Example #2
0
 public static extern void GetVectorFromArray(IntPtr vectorArray, [Out] PhysXVec3 vector, int index);
Example #3
0
 public static extern void SetWheelSimSuspensionData(IntPtr wheelSimData, int wheelNum, IntPtr suspension, [In] PhysXVec3 down);
Example #4
0
 public static extern IntPtr CreateScene([In] PhysXVec3 gravity);
Example #5
0
 public static extern IntPtr CreateConvexMeshGeometry(IntPtr vertexArray, [In] PhysXVec3 scale);
Example #6
0
 public static extern bool FireRaycastFiltered(IntPtr scene, [In] PhysXVec3 origin, [In] PhysXVec3 direction, float distance, IntPtr raycastHit, uint w0, uint w1, uint w2, uint w3);
Example #7
0
 public static extern void GetRaycastHitPoint(IntPtr raycastHit, [Out] PhysXVec3 point);
Example #8
0
 public static extern void SetLinearVelocity(IntPtr rigidBody, [In] PhysXVec3 velocity);
Example #9
0
 public static extern void SetAngularVelocity(IntPtr rigidBody, [Out] PhysXVec3 velocity);
Example #10
0
 public static extern void GetPosition(IntPtr actor, [Out] PhysXVec3 position);
Example #11
0
 public static extern void SetPosition(IntPtr actor, [In] PhysXVec3 position);
Example #12
0
 public static extern IntPtr SetRigidBodyMassAndInertia(IntPtr body, float mass, [In] PhysXVec3 massLocalPose = null);
Example #13
0
 public static extern void SetWheelSimForceAppPoint(IntPtr wheelSimData, int wheelNum, [In] PhysXVec3 point);
Example #14
0
 public static extern void SetWheelSimWheelCentre(IntPtr wheelSimData, int wheelNum, [In] PhysXVec3 centre);
Example #15
0
 public static extern float GetClosestPointOnShape(IntPtr shape, [In] PhysXVec3 position, [Out] PhysXVec3 closestPoint);
Example #16
0
 public static extern void AddForce(IntPtr rigidBody, [In] PhysXVec3 force, int forceMode);
Example #17
0
 public static extern bool FireRaycast(IntPtr scene, [In] PhysXVec3 origin, [In] PhysXVec3 direction, float distance, IntPtr raycastHit);
Example #18
0
 public static extern void AddForceAtPosition(IntPtr rigidBody, [In] PhysXVec3 force, [In] PhysXVec3 position, int forceMode);
Example #19
0
 public static extern void GetRaycastHitNormal(IntPtr raycastHit, [Out] PhysXVec3 normal);
Example #20
0
 public static extern void AddTorque(IntPtr rigidBody, [In] PhysXVec3 torque, int forceMode);
Example #21
0
 private static extern void CreateVehicleEnvironment([In] PhysXVec3 up, [In] PhysXVec3 forward);
Example #22
0
 public static extern float GetContactPointData(IntPtr iter, int j, IntPtr pairs, int i, [Out] PhysXVec3 point, [Out] PhysXVec3 normal, [Out] PhysXVec3 impulse);
Example #23
0
 public static extern void AddVectorToArray(IntPtr vectorArray, [In] PhysXVec3 vector);
Example #24
0
 public static extern void GetWheelTransform(IntPtr vehicle, int wheelNum, [Out] PhysXVec3 position, [Out] PhysXQuat rotation);
Example #25
0
 public static extern IntPtr CreateMeshGeometry(IntPtr vertexArray, [In] int[] triIndices, int triCount, [In] PhysXVec3 scale);
Example #26
0
 public static extern void GetGroundHitPosition(IntPtr vehicle, int wheelNum, [Out] PhysXVec3 position);
Example #27
0
 public static extern IntPtr CreateTransform([In] PhysXVec3 pos, [In] PhysXQuat rot);
Example #28
0
 public static extern void SetSuspensionSprungMasses(IntPtr[] suspensions, int wheelCount, IntPtr wheelPositions, [In] PhysXVec3 centreOfMass, float mass);