Hello Ansca,
In Daily Build 2011.619 (2011.8.2), I am now getting the following error message in the console:
ERROR: display object property isBodyActive cannot be set when the world is locked and in the middle of number crunching, such as during a collision event
Is this intentional, or a bug specific to this build? Can we expect this to be the case going forward into the next official build?
I hope it’s not an upcoming “requirement”, becuase it’s somewhat frustrating. In my game, it’s useful to immediately set a physics body to inactive upon a collision, because I want to remove it from the simulation but not from the game entirely (these bodies get reactivated soon after). It would be quite bothersome if I now need to write a delayed timer function to call the “isBodyActive” function every time, which is fairly often in my game.
Any advice or updates on this, please let me know.
SIncerely,
Brent Sorrentino
Ignis Design
[import]uid: 9747 topic_id: 15574 reply_id: 315574[/import]