|
TrueSync
|
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... | |
Manages the collision matrix of physics simulation.
Definition at line 8 of file LayerCollisionMatrix.cs.
|
static |
Returns true if the given layers can collide.
| 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).
| goA | First GameObject |
| goB | Second GameObject |
Definition at line 31 of file LayerCollisionMatrix.cs.
1.8.11