fisica Assertion Error
in
Contributed Library Questions
•
9 months ago
Hi guys.
I'm here with another question on fisica .
I'm developing a class for emitting FBodies from a location in space.
It Works like the "emitters" that you can find in 3d/2d softwares..
currently my problem is that when my particles count reaches 1022 objects processing crash saying: assertion error..
- Exception in thread "Animation Thread" java.lang.AssertionError
- at org.jbox2d.collision.BroadPhase.createProxy(Unknown Source)
- at org.jbox2d.collision.shapes.Shape.createProxy(Unknown Source)
- at org.jbox2d.dynamics.Body.createShape(Unknown Source)
- at fisica.FBody.processBody(Unknown Source)
- at fisica.FBody.addToWorld(Unknown Source)
- at fisica.FWorld.addBody(Unknown Source)
- at output$SceneHandler.add(output.java:3511)
- at output$Emitter.emit(output.java:577)
- at output$SceneHandler.step(output.java:3852)
- at output.draw(output.java:100)
- at processing.core.PApplet.handleDraw(Unknown Source)
- at processing.core.PApplet.run(Unknown Source)
- at java.lang.Thread.run(Thread.java:662)
1