You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there,
I've created a Pool Object composed of Box2D physics object. I've an error when I destroy objects and recreate them through the pool (reassign).
RangeError: Error #1506: The specified range is invalid.
The Box2D object is destroyed, but it seems it has problem to be recreate.
My engine may also use Nape which doesn't spread error & works great.
Hey there,
I've created a Pool Object composed of Box2D physics object. I've an error when I destroy objects and recreate them through the pool (reassign).
RangeError: Error #1506: The specified range is invalid.
The Box2D object is destroyed, but it seems it has problem to be recreate.
My engine may also use Nape which doesn't spread error & works great.
Any ideas?
You can find sources there : https://github.com/alamboley/Citrus-Engine/tree/master/src/objectpooling Just change the nape package/object by box2d and use Box2DPhysicsObject, it will work!
The text was updated successfully, but these errors were encountered: