Class PhysicsWorldExtensions
Inheritance
PhysicsWorldExtensions
Syntax
public static class PhysicsWorldExtensions
Methods
ApplyAngularImpulse(PhysicsWorld, Int32, float3)
Declaration
public static void ApplyAngularImpulse(this PhysicsWorld world, int rigidBodyIndex, float3 angularImpulse)
Parameters
ApplyImpulse(PhysicsWorld, Int32, float3, float3)
Declaration
public static void ApplyImpulse(this PhysicsWorld world, int rigidBodyIndex, float3 linearImpulse, float3 point)
Parameters
ApplyLinearImpulse(PhysicsWorld, Int32, float3)
Declaration
public static void ApplyLinearImpulse(this PhysicsWorld world, int rigidBodyIndex, float3 linearImpulse)
Parameters
Declaration
public static void CalculateVelocityToTarget(this PhysicsWorld world, int rigidBodyIndex, RigidTransform targetTransform, float timestep, out float3 requiredLinearVelocity, out float3 requiredAngularVelocity)
Parameters
GetAngularVelocity(in PhysicsWorld, Int32)
Declaration
public static float3 GetAngularVelocity(this in PhysicsWorld world, int rigidBodyIndex)
Parameters
Returns
GetCenterOfMass(in PhysicsWorld, Int32)
Declaration
public static float3 GetCenterOfMass(this in PhysicsWorld world, int rigidBodyIndex)
Parameters
Returns
GetCollisionFilter(in PhysicsWorld, Int32)
Declaration
public static CollisionFilter GetCollisionFilter(this in PhysicsWorld world, int rigidBodyIndex)
Parameters
Returns
GetEffectiveMass(in PhysicsWorld, Int32, float3, float3)
Declaration
public static float GetEffectiveMass(this in PhysicsWorld world, int rigidBodyIndex, float3 impulse, float3 point)
Parameters
Returns
GetLinearVelocity(in PhysicsWorld, Int32)
Declaration
public static float3 GetLinearVelocity(this in PhysicsWorld world, int rigidBodyIndex)
Parameters
Returns
GetLinearVelocity(in PhysicsWorld, Int32, float3)
Declaration
public static float3 GetLinearVelocity(this in PhysicsWorld world, int rigidBodyIndex, float3 point)
Parameters
Returns
GetMass(in PhysicsWorld, Int32)
Declaration
public static float GetMass(this in PhysicsWorld world, int rigidBodyIndex)
Parameters
Returns
GetPosition(in PhysicsWorld, Int32)
Declaration
public static float3 GetPosition(this in PhysicsWorld world, int rigidBodyIndex)
Parameters
Returns
GetRotation(in PhysicsWorld, Int32)
Declaration
public static quaternion GetRotation(this in PhysicsWorld world, int rigidBodyIndex)
Parameters
Returns
SetAngularVelocity(PhysicsWorld, Int32, float3)
Declaration
public static void SetAngularVelocity(this PhysicsWorld world, int rigidBodyIndex, float3 angularVelocity)
Parameters
SetLinearVelocity(PhysicsWorld, Int32, float3)
Declaration
public static void SetLinearVelocity(this PhysicsWorld world, int rigidBodyIndex, float3 linearVelocity)
Parameters