!space->locked. Crash in the project.
Posted: Tue Aug 09, 2016 12:31 pm
hi friends!
In my game i meet different crashes because:
in debug info i can see:
* cocos2d makes impossible to control the locks.
1. How correctly to wait when the SPACE will be unlocked?
2. when we have collision we continue to control the body or sprite with body
In my game i meet different crashes because:
in debug info i can see:
Code: Select all
cpAssertHard(!space->locked, "You cannot manually reindex objects while the space is locked. Wait until the current query or step is complete.");
1. How correctly to wait when the SPACE will be unlocked?
2. when we have collision we continue to control the body or sprite with body