Static utility class for managing the shared collision layer used by GroupCollisionChecker. More...
Static Public Member Functions | |
| static int | EnsureLayer () |
| Ensures the rvCollissionCheck layer exists and isolates it from all other layers. | |
Static Public Attributes | |
| const string | LAYER_NAME |
| < Name of the shared collision check layer. | |
Detailed Description
Static utility class for managing the shared collision layer used by GroupCollisionChecker.
Provides layer creation (Editor-only) and runtime layer isolation via Physics.IgnoreLayerCollision. The single layer "rvCollissionCheck" is shared by all groups and is isolated from all other realvirtual layers to prevent interference with Sensor, Transport, Destroyer, and PathMover systems. Self-collision filtering is handled per-collider via Physics.IgnoreCollision in GroupCollisionChecker.
Member Function Documentation
◆ EnsureLayer()
|
static |
Ensures the rvCollissionCheck layer exists and isolates it from all other layers.
The layer can only collide with itself. Returns the layer index or -1 if not found.
Ensures the rvCollissionCheck layer is isolated from all other Physics layers. Returns layer index or -1.
Member Data Documentation
◆ LAYER_NAME
|
static |
< Name of the shared collision check layer.