Body-specific collision callback example in Documentation

I am trying to follow the playgrounds in documentation on collision events

In the playground under “Use collision observer to log an output when bodies are colliding”

I see that bodyCollideCB (line 193) is never getting triggered even though it is registered (line 224).
Why does that happen?
thank you

Adding @Cedric and @carolhmj who might be able to help

body.setCollisionCallbackEnabled has to be set to true, see line 223: Physics V2 collision callback | Babylon.js Playground (

1 Like

@carolhmj Thank you! That makes sense