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