TrueSync
|
TrueSync.LayerCollisionMatrix Class Reference
Manages the collision matrix of physics simulation. More...
Static Public Member Functions | |
static bool | CollisionEnabled (int layerA, int layerB) |
Returns true if the given layers can collide. More... | |
static bool | CollisionEnabled (GameObject goA, GameObject goB) |
Returns true if the given GameObjects can collide (based on its layers). More... | |
Detailed Description
Manages the collision matrix of physics simulation.
Definition at line 8 of file LayerCollisionMatrix.cs.
Member Function Documentation
|
static |
Returns true if the given layers can collide.
- Parameters
-
layerA Layer of the first object layerB Layer of the second object
Definition at line 16 of file LayerCollisionMatrix.cs.
|
static |
Returns true if the given GameObjects can collide (based on its layers).
- Parameters
-
goA First GameObject goB Second GameObject
Definition at line 31 of file LayerCollisionMatrix.cs.
The documentation for this class was generated from the following file:
Generated by 1.8.11