character_controller_filtering
It is possible to let the character controller ignore some obstacles. This can be achieved by setting the
optional arguments of the KinematicCharacterController.computeColliderMovement method:
filterFlags: to exclude whole families of obstacles (e.g. all the colliders attached to dynamic rigid-bodies).filterGroups: filter based on the colliders collision groups.filterPredicate: an arbitrary closure to filter-out colliders based on user-defined rules.