Hi! I’m using OverlapBox to detect if any object is occupying a certain space, it works great for objects that have a box collider, but it doesn’t detect objects that have a Character Controller.
Does anyone know why it doesn’t detect Character Controller?
var numOverlaps = Physics.OverlapBoxNonAlloc(position, Vector3.one * 0.45f, overlaps, Quaternion.identity, ~(1 << LayerMask.NameToLayer("Terrain")), QueryTriggerInteraction.Ignore);