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
My system updated to dyn4j to version: 4.1.0. If I remove a item (I shot the enemy in this case :D) it leads to the following error (the older version didn't had that problem):
Feb 05, 2021 6:58:16 PM com.jme3.app.LegacyApplication handleError
SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
java.lang.IllegalStateException
at java.util.LinkedHashMap$LinkedHashIterator.remove(LinkedHashMap.java:730)
at org.dyn4j.world.AbstractPhysicsWorld.solveTOI(AbstractPhysicsWorld.java:1400)
at org.dyn4j.world.AbstractPhysicsWorld.step(AbstractPhysicsWorld.java:1269)
at org.dyn4j.world.AbstractPhysicsWorld.update(AbstractPhysicsWorld.java:285)
at org.dyn4j.world.AbstractPhysicsWorld.update(AbstractPhysicsWorld.java:247)
at ch.artificials.bubble.system.dyn4j.Dyn4jPhysicsSystem.update(Dyn4jPhysicsSystem.java:297)
at com.jme3.app.state.AppStateManager.update(AppStateManager.java:356)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:255)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:197)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
at java.lang.Thread.run(Thread.java:748)
Any idea what I have to change or adapt. I also saw that body.setActive(true) does not exist anymore.
The text was updated successfully, but these errors were encountered:
How/when are you removing the enemy? That error is emitted at the point where we're checking if two bodies are still overlapping wrt. their swept AABBs. It could also reach that branch of code if either body didn't exist in the CCD broadphase any more (i.e. being removed).
For Body.setActive(boolean), I think the replacement is Body.setEnabled(boolean). What version are you coming from?
My system updated to dyn4j to version: 4.1.0. If I remove a item (I shot the enemy in this case :D) it leads to the following error (the older version didn't had that problem):
Feb 05, 2021 6:58:16 PM com.jme3.app.LegacyApplication handleError
SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
java.lang.IllegalStateException
at java.util.LinkedHashMap$LinkedHashIterator.remove(LinkedHashMap.java:730)
at org.dyn4j.world.AbstractPhysicsWorld.solveTOI(AbstractPhysicsWorld.java:1400)
at org.dyn4j.world.AbstractPhysicsWorld.step(AbstractPhysicsWorld.java:1269)
at org.dyn4j.world.AbstractPhysicsWorld.update(AbstractPhysicsWorld.java:285)
at org.dyn4j.world.AbstractPhysicsWorld.update(AbstractPhysicsWorld.java:247)
at ch.artificials.bubble.system.dyn4j.Dyn4jPhysicsSystem.update(Dyn4jPhysicsSystem.java:297)
at com.jme3.app.state.AppStateManager.update(AppStateManager.java:356)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:255)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:197)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
at java.lang.Thread.run(Thread.java:748)
Any idea what I have to change or adapt. I also saw that body.setActive(true) does not exist anymore.
The text was updated successfully, but these errors were encountered: