Avoiding unnecessary callback during collision

Hello guys,
My character is standing and walking over the ground.
Im using collision callbacks to Interact with walls and other objects.
Collision callback between ground and character is totally useless in my case , is it possible to avoid triggering it ?
I been reading about this old post, perhaps there is some new options today. I been also been reading about eventMask , but can not find a working example.
BTW: I cant disable collisions on the ground.
Any ideas would be welcome.

I would just enable the collision callbacks on only the interactables, like walls:

(AI wrote the demo :slight_smile: )

3 Likes

@alexchuber , thanks , I like your idea.
It works , however my ground class is far (in code terms) from my character class so, now I will need somehow to make my character be aware about the collision.
Thanks.