You still have a lot of commands written, that do exactly nothing.
Delete (or change) the following lines:
mfg Raitsun
Delete (or change) the following lines:
X#=0 Y#=0 Z#=0 player=CreatePivot() MoveEntity box,X#,Y#,Z# EntityRadius box,box_radius# ;no need to call this every frame, it's faster you put this ABOVE your main loop. EntityRadius terrain,terrain_radius# ;Terrain's collision-sphere isn't used for collisions... and terrain_radius# has not been initialised and has, for that reason, a value of 0 If KeyDown( 32 )=True Then TurnEntity camera,0,-.0,0 If KeyDown( 30 )=True Then TurnEntity camera,0,.0,0 If KeyDown( 31 )=True Then MoveEntity camera,0,0,-0.00 If KeyDown( 17 )=True Then MoveEntity camera,0,0,0.00 RenderWorld tween ;why "tween"? use normal renderworld, you have no initialised variable called "tween", you would need one for frame-tweening... just write "Renderworld" alone, it does exactly the same in this case... FreeEntity(box) FreeEntity(terrain) ClearWorld(box,terrain,Grass ) ;this is not the right parameters... you would have to give the parameters (true, true, true) to this function, but as this is already default, just "ClearWorld" is enough...
mfg Raitsun