Does PhysicsCharacterController support collision filtering?

I’m using the new PhysicsCharacterController and want my character to collide only with specific physics objects while ignoring others (for example, trigger zones or non-solid bodies).

The docs mention filterMembershipMask and filterCollideMask for shapes, but I’m not sure how to apply these with the character controller. Does it support collision filtering, or is there a workaround to selectively enable/disable collisions at runtime?

I’m taking a look

Controller takes optional shape parameter, should we create our own shape and pass it to the controller?

Or you can get the CharacterController shape Babylon.js docs and set its filter mask with Babylon.js docs

1 Like

Thank you!