Documentation on BOX2D Locks
Posted: Sun Oct 14, 2018 7:56 am
I submitted a bug report here: https://bitbucket.org/rude/love/issues/ ... et-me-weld and the basics is that I didn't know BOX2D locks the world during the collision callback functions. I wanted to help the project by adding the following code to various parts of the Wiki:
{{notice|Making changes to a [[World]] is not allowed inside of the [[beginContact]], [[endContact]], [[preSolve]], and [[postSolve]] callback functions, as BOX2D locks the world during these callbacks.}}
in various pages within love.physics and wanted to ask the community if you could copy and paste that notice where it is most relevant, and accurate, and make sure that I'm not spreading false information. It would suck if I was the cause of false information to someone else.
Thanks!
{{notice|Making changes to a [[World]] is not allowed inside of the [[beginContact]], [[endContact]], [[preSolve]], and [[postSolve]] callback functions, as BOX2D locks the world during these callbacks.}}
in various pages within love.physics and wanted to ask the community if you could copy and paste that notice where it is most relevant, and accurate, and make sure that I'm not spreading false information. It would suck if I was the cause of false information to someone else.
Thanks!