First post and hopefully not a stupid one.
I've managed to get the demos working under Linux, created Blender objects, PaulsCode Soundsystem and imported the md2's however I'm stuck on such an irritatingly small problem.
Casting an Object to a Float.
I'm doing this because of the return array from the World.calcMinDistanceAndObject3D(); Where an object array is returned with a float value[0] and the picked Object3D[1].
I'm trying to test the float value to see if it is Object3D.COLLISION_NONE
I get the error:
test.java:138: inconvertible types
found : java.lang.Object
required: float
float ans = (float)(res[0]);
1 error
After searching the forum where I normally get my answers and having no luck I finally decided to ask ... How?
Thanks in advance!