TrueSync
|
TrueSync.Physics2DWorldManager Class Reference
Manages the 2D physics simulation. More...
Inheritance diagram for TrueSync.Physics2DWorldManager:

Public Member Functions | |
void | Init () |
void | UpdateStep () |
Goes one step further on the physics simulation. | |
IWorld | GetWorld () |
void | AddBody (ICollider iCollider) |
void | RemoveBody (IBody iBody) |
void | OnRemoveBody (Action< IBody > OnRemoveBody) |
GameObject | GetGameObject (IBody body) |
int | GetBodyLayer (IBody body) |
TSRaycastHit2D | Raycast (TSVector2 origin, TSVector2 direction, FP distance) |
TSRaycastHit2D[] | RaycastAll (TSVector2 origin, TSVector2 direction, FP distance) |
bool | IsCollisionEnabled (IBody rigidBody1, IBody rigidBody2) |
IWorldClone | GetWorldClone () |
Static Public Attributes | |
static Physics2DWorldManager | instance |
Public access to a manager instance. | |
Properties | |
TSVector | Gravity [get, set] |
Property access to simulated gravity. | |
bool | SpeculativeContacts [get, set] |
Property access to speculative contacts. | |
FP | LockedTimeStep [get, set] |
Detailed Description
Manages the 2D physics simulation.
Definition at line 11 of file Physics2DWorldManager.cs.
The documentation for this class was generated from the following file:
Generated by
