wjc272008 / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Infinite recursive call in native bullet. #640

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The getPositionWorldOnA method in the class 
com.jme3.bullet.collision.PhysicsCollisionEvent of the native bullet module is 
defined like this:

public Vector3f getPositionWorldOnA(Vector3f positionWorldOnA) {
    getPositionWorldOnA(positionWorldOnA);
    return positionWorldOnA;
}

When this method is called, it will loop until the stack overflows.

Original issue reported on code.google.com by christop...@gmail.com on 31 Mar 2014 at 6:51