Changing collision filters after physics object is created
Not sure if this is a feature request, a bug or a brainfart.
I would like to change the collision filter categoryBits and maskBits on an object after it has been created, but there doesn't seem to be a getter/setter for these attributes.
If I reassign the .filter on an object it does change the behavior somewhat, but not in any way I can actually identify as far as what it will react to, though it does appear to break some of my collision logic....
Am I missing something or is this a feature request ?
If this isn't supported is there a suggested method of "cloning" a display/physics object that I might be able to change this during that process and kill off the donor ?
I'm not sure if there is enough of a physics object exposed to get all the relevant information to make a duplicate with the same position, velocity and other aspects that would need to be known to do that.....
Any suggestions ?
I can work around it with a preCollision ( maybe ) but it would be a nice thing to have.