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