Contact manager callbacks.
Options
erre
✭
Hi,
For performance reasons, in our game we have commented the line in Physics2DWorldManager:
Thank you.
Andrea.
For performance reasons, in our game we have commented the line in Physics2DWorldManager:
world.ContactManager.StayContact += CollisionStay;and we saw that the game crashes. Are you assuming that this callback have always a listener? If we remove comment on that line, everything works fine.
Thank you.
Andrea.
0
Comments
-
Hello @erre,
We are assuming that there is always a listener, but this is not a must, we will change it in the next release (1.0.7). Thanks for report.0