Hi there,
I have got a problem with Blitz3D. If you try the following small program:
You will see a cube waving on Z axis on a sinus move.
But the move is not smooth, it seems to move step by step.
I don't understand why.
Where is the error in my code? What did I do wrong?
It seems Blitz uses integer instead of float somewhere but I cannot understand where is my error..
thanks for any help
alain
I have got a problem with Blitz3D. If you try the following small program:
Graphics3D 640,480 SetBuffer BackBuffer() camera=CreateCamera() cube=CreateCube() While not KeyDown(1) ms% = MilliSecs() PositionEntity cube,0,0,5.0+Sin(0.01*Float(ms)) RenderWorld Flip Wend End
You will see a cube waving on Z axis on a sinus move.
But the move is not smooth, it seems to move step by step.
I don't understand why.
Where is the error in my code? What did I do wrong?
It seems Blitz uses integer instead of float somewhere but I cannot understand where is my error..
thanks for any help
alain