Is there a way to use collisionGroup/collisionMask in havok physics?

https://www.iforce2d.net/b2dtut/collision-filtering
I need functions such as categoryBits and maskBits of box 2d,

but I don’t think there is this specification in ‘PhysicsBody’ of Babylon js.

Is there any way to do this?

I think in havok you can set filterCollideMask and filterMembershipMask of PhysicsShape similar to collisiongroup/mask:

1 Like

Thank you for your answer.
Is it correct to respond like this based on bullet physics?

m_collisionFilterGroup → filterMembershipMask
m_collisionFilterMask → filterCollideMask