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