Hi, I am getting a NullPointerException when calling to any of the checkForCollision methods on an Object3D.
the exception is:
java.lang.NullPointerException
at com.threed.jpct.Object3D.checkForCollision(Unknown Source)
at Auto.RenderThread.hacerMovimientos(RenderThread.java:262)
at Auto.RenderThread.run(RenderThread.java:221)
both objects has the collision modes:
carro.setCollisionMode(Object3D.COLLISION_CHECK_OTHERS | Object3D.COLLISION_CHECK_SELF);
mapa.setCollisionMode(Object3D.COLLISION_CHECK_OTHERS | Object3D.COLLISION_CHECK_SELF);
I am using the beta version with the env forced to the second stage.