Let's fix our
BitMasks to work better for our purpose.
setupCollisionsmethod of our
Cycleclass, change the line where we set the Into collide mask for
CycleClass_02.py. Then, save it as
WorldClass_03.pyand run it from the command prompt. Attempt to collide the cycles together and we'll see that the collision is detected again, like in the following image:
Now our cycles can collide with each ...