| PhysicsWorld Methods |
The PhysicsWorld type exposes the following members.
| Name | Description | |
|---|---|---|
| AddBody |
Add a physical body to the world
| |
| DebugDraw |
Debug-draw the physical world.
| |
| Destroy |
Destroy the physical world.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Initialize |
Initialize physical-engine related stuff and set callbacks to respond to contact start / ended / processed events.
| |
| Raycast(Vector3, Vector3, BasePhysicsComponent) |
Perform a raycast test and return colliding results, while ignoring 'self' object.
| |
| Raycast(Vector3, Vector3, Boolean) |
Perform a raycast test and return colliding results.
| |
| RemoveBody |
Remove a physical body from the world.
| |
| SetGravity |
Set gravity vector.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Update |
Called every frame to advance physics simulator.
|