H!
I have a 3d world , and a player is moving there :)
Then I placed some walls,objects in that world and the player can't go through that :)
but when a player collided with a wall then the camera must stop moving
and the code don't work !
the player does stop but the camera is still moving.
Why ?
I have a 3d world , and a player is moving there :)
Then I placed some walls,objects in that world and the player can't go through that :)
but when a player collided with a wall then the camera must stop moving
and the code don't work !
the player does stop but the camera is still moving.
Why ?
If KeyDown(key_arrowpad_up) If Not EntityCollided(Object,scene_type) MoveEntity Object,0,0,0.035 MoveEntity camera,camX%,camY%,camZ%+0.035 End If EndIf