flickering object when moving both:object AND View

i send fps, cause I calculate

speed/fps

!!! It’s the same like using timeDiff like this

speed/(1000000000/timeDiff)

, isn’t it?

Greets Juan!

Hi
you need a float for fps, but everything else should be a long. It might make a diffence. I’m not sure why it would be stuttering though, the method I describe is the one I use and it runs without stuttering. I use J3DTimer, the only float in the timing secion is on the fps counter, the rest is longs, unless I convert to seconds instead of using milli/nano seconds (which I do in one place).

Endolf