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?
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:
Thank you for your answer.
Is it correct to respond like this based on bullet physics?
m_collisionFilterGroup → filterMembershipMask
m_collisionFilterMask → filterCollideMask