The Jirr forum appears to be dead so I thought id post here.
First of all please excuse my newbieness. I have never made a game or even a real time application before. However I have developed several large systems in Java.
I have been using Jirr to write a simple game. Its all been going nicely until I try to use the setPosition method on an animated scene node.
Firstly I gave it a vector in the same way as you do when you create the node.
Code: Select all
mynode.setPosition(Jirr.createVector3dF32(0,0,0));
C:\Program Files\jirr\bin\Player.java:64: cannot resolve symbol
symbol : method setPosition (SWIGTYPE_p_irr__core__vector3dTf32_t)
location: class IAnimatedMeshSceneNode
mynode.setPosition(Jirr.createVector3dF32(0,0,0));
^
1 error
Secondly I tried to use the SWIG type to create the correct vector.
Code: Select all
SWIGTYPE_p_vector3df vector = Jirr.createVector3dF32(0,0,0);
mynode.setPosition(vector);
The error I get is
C:\Program Files\jirr\bin\Player.java:63: incompatible types
found : SWIGTYPE_p_irr__core__vector3dTf32_t
required: SWIGTYPE_p_vector3df
SWIGTYPE_p_vector3df vector = Jirr.createVector3dF32(0,0,0);
^
C:\Program Files\jirr\bin\Player.java:64: cannot resolve symbol
symbol : method setPosition (SWIGTYPE_p_vector3df)
location: class IAnimatedMeshSceneNode
mynode.setPosition(vector);
^
2 errors
These errors seem to contradict my code.
The only thing I can think of is that the setPosition method isnt implemented yet, or that the way the code was ported has caused this error. But I dont have the uncompiled source to have a look.
If anyone can shed any light on this I would appreciate it.