class
CollisionGroupHelperStatic methods
- def get_all_group_names() -> typing.List[str]
- Get a list of all configured collision group names.
- def get_group(name: str) -> CollisionGroups
- Get a group by assigned name.
- def get_group_name(group: CollisionGroups) -> str
- Get the name assigned to a CollisionGroup.
- def get_mask_for_group(group: CollisionGroups) -> CollisionGroups
- Get the mask for a collision group describing its interaction with other groups.
- def get_mask_for_group(group: str) -> CollisionGroups
- Get the mask for a collision group describing its interaction with other groups.
- def set_group_interacts_with(group_a: CollisionGroups, group_b: CollisionGroups, interact: bool) -> None
- Set groupA’s collision mask to a specific interaction state with respect to groupB.
- def set_group_name(group: CollisionGroups, name: str) -> bool
- Assign a name to a CollisionGroup.
- def set_mask_for_group(group: CollisionGroups, mask: CollisionGroups) -> None
- Set the mask for a collision group describing its interaction with other groups. It is not recommended to modify the mask for default, non-user groups.