abhinavxrai
26-03-2006 07:53:52
I have an object (say a cylinder) that I create and I have assigned a collision body to it. Now I pass the node to this cylinder through the frame listender constructor so it is available in the framelistener class.
Now, I put a few user input movements to move the cylinder around.
While viewing the debugging lines (F3 pressed), I can see the collision body being created but when I move the cylinder around, the collision body (i.e. the lines) do not move. They remain locked at the initial position of the cylinder. How can this problem be resolved? What am I doing wrong?
Now, I put a few user input movements to move the cylinder around.
While viewing the debugging lines (F3 pressed), I can see the collision body being created but when I move the cylinder around, the collision body (i.e. the lines) do not move. They remain locked at the initial position of the cylinder. How can this problem be resolved? What am I doing wrong?