After a body has been created, can its mask bits/ category be changed? I have been trying things to make a body become uncollidable like:
but it isn't working.
Can anyone tell me how to achieve this?
Code:
b.m_shapeList.m_filter.groupIndex = -1;
b.m_shapeList.m_filter.maskBits = 0x0000;
b.m_shapeList.m_filter.maskBits = 0x0000;
but it isn't working.
Can anyone tell me how to achieve this?