Hi,ereryone,could odejava create a box used into java3d’ PlatformGeometry
I design a fps game,and i want to do first person colliection with other Gemmetry,of course i use PlatformGeometry in
initUserControls(Vector3d targetVec) method.but could not in action.
the below is error:
Exception in thread “main” java.lang.UnsatisfiedLinkError: get_PARENTSPACEID_ZERO
at org.odejava.ode.OdeJNI.get_PARENTSPACEID_ZERO(Native Method)
at org.odejava.ode.Ode.getPARENTSPACEID_ZERO(Ode.java:73)
at org.odejava.GeomPlane.(GeomPlane.java:73)
at org.odejava.GeomPlane.(GeomPlane.java:81)
at Phybox2.makeBoxGeom(Phybox2.java:156)
at Phybox2.(Phybox2.java:48)
at WrapTour3D.gunHand(WrapTour3D.java:356)
at WrapTour3D.initUserControls(WrapTour3D.java:324)
at WrapTour3D.createSceneGraph(WrapTour3D.java:186)
at WrapTour3D.(WrapTour3D.java:158)
at Tour3D.(Tour3D.java:60)
at Tour3D.main(Tour3D.java:81)
I’m not sure what ‘PlatformGeometry’ actually is (is it from Java3D?), but you can, of course, create a odejava box and work with it in Java3D.
The error message you posted is a sign of a wrong native library. Your dll/so/jnilib does not match the java part of odejava.
Yeah.
Thanks for your reply!
Yes,'PlatformGeometry" is from Java 3D,that could create the camera for the scene.
Of course,the odeJava could odejava box and work with it in Java 3D.I have used it
but when i put the odejava box that i create into 'PlatformGeometry",it could not work well.
maybe i have to try another way to finish the first person colliection.!!!
sunnyan