-
box2d error
Hello, I am facing a problem with box2d. Does anyone perhaps know what the following error could be caused by and how to solve it?
Assertion Failed at: inRange
It appears when the application starts. The bodies and shapes are set to be created via behaviors in a fast loop that also creates instances of an object.
-
Re: box2d error
Well, something must be outside of some kind of range. For example an object created outside of the world boundaries or so.
-
Re: box2d error
I thought so too but there is nothing being created outside. It appears though that for some reason the top left world boundary is set to the where the first body is created. There is no such code in my application. Any ideas on what could be causing this? Could layers and x/y coefficients be causing any of this?
-
Re: box2d error
OK found it. Had to rearrange the group of events in the global event editor because the chain around the frame was being created after the loop in the behavior was set to run. Thanks for your input Looki.