Class PhysicsWorldExtensions
Utility functions acting on a physics world.
Inherited Members
Namespace: Unity.Physics.Extensions
Assembly: solution.dll
Syntax
public static class PhysicsWorldExtensions
Methods
Name | Description |
---|---|
Apply |
Apply an angular impulse to a rigidBodyIndex (in world space) |
Apply |
Apply an impulse to a rigid body at a point (in world space) |
Apply |
Apply a linear impulse to a rigid body (in world space) |
Calculate |
Calculate a linear and angular velocity required to move the given rigid body to the given target transform in the given time step. |
Get |
Get the angular velocity of a rigid body around it's center of mass (in world space) |
Get |
Get the Rigid Bodies Center of Mass (in World Space) |
Get |
An in PhysicsWorld extension method that gets collision filter. |
Get |
Get the effective mass of a Rigid Body in a given direction and from a particular point (in World Space) |
Get |
Get the linear velocity of a rigid body (in world space) |
Get |
Get the linear velocity of a rigid body at a given point (in world space) |
Get |
An in PhysicsWorld extension method that gets the mass. |
Get |
An in PhysicsWorld extension method that gets a position of a body in World Space. |
Get |
An in PhysicsWorld extension method that gets a rotation. |
Set |
Set the angular velocity of a rigid body (in world space) |
Set |
Set the linear velocity of a rigid body (in world space) |