The idea is add an attribute for change the Collision Group/Mask of a game object in realtime with python.
I’m not sure how it should work, be better to use a function or an attribute? what king of values(int, list, etc) could use to set?
May be better an attribute for example:
object.collisionGroup = value
object.collisionMask = value
Maybe the value would be a list? for example: [True, False, False, False, False, False, False, False]
Is there a atributte for change the state of the logic, but is hard to use, or at least for me.
What do you think?