I have discovered that the coordinate system used by PocketGL introduces errors when moving objects especially inter-related ones. eg: a rotating gun turret which has a barrel which goes in & out. As the object animates the barrel slowly moves out of allignment & I put this down to the rounding which goes on in the fixed maths coordinate system.
One possible solution would be to use some kind of path finding to force the barrel back to it's origin thus eliminating the errors.
Any advice will be gladly received. If I'm stuck I can just re-work the weapons so that none of them have this kind of movement but that seems the wrong way to go especially as I have some more complex meshes in mind for my next game.
(of course I could just have bugs in my code)
One possible solution would be to use some kind of path finding to force the barrel back to it's origin thus eliminating the errors.
Any advice will be gladly received. If I'm stuck I can just re-work the weapons so that none of them have this kind of movement but that seems the wrong way to go especially as I have some more complex meshes in mind for my next game.
(of course I could just have bugs in my code)