colisions problems

Blitz3D Forums/Blitz3D Beginners Area/colisions problems

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm guessing that because it will take just 4 program loops to move the tank to this new location, that it is moving so quick that it's not noticed as the program runs, therefore, it appears to remain stationary, although in actuality it has already moved.

I would check the tank location with this:

While Not KeyDown(1)

MoveEntity tank1, 10,0,0



If KeyDown(32)=True Then TurnEntity camera,0,-1,0
If KeyDown(30)=True Then TurnEntity camera,0,1,0
If KeyDown(31)=True Then MoveEntity camera,0,0,-0.1
If KeyDown(17)=True Then MoveEntity camera,0,0,0.1

UpdateWorld
RenderWorld 

Text 100,100,EntityX(tank1)
Text 100,200,EntityY(tank1)
Text 100,300,EntityZ(tank1)


Flip


Wend
End