When I put the "Collisions" command in I get a MAV. I dont when I take it out. What I'm trying to do is get a collision between the terrain i made in ale and the camera.
Graphics3D 800,600 Global terrain = LoadMesh("terrain\terrain1.b3d") PositionEntity terrain,0,0,0 EntityType terrain,1,False AmbientLight 255,255,255 Global camera = CreateCamera() PositionEntity camera,0,100,0 EntityType camera,1,False EntityRadius camera,1 MoveMouse 400,300 Collisions camera,terrain,1,2 While Not KeyHit(1) RotateEntity camera,MouseY(),-MouseX(),0 movecamera() UpdateWorld RenderWorld() Flip Wend End Function movecamera() If KeyDown(200) MoveEntity camera,0,0,0.2 ElseIf KeyDown(208) MoveEntity camera,0,0,-0.2 EndIf If KeyDown(203) MoveEntity camera,-0.2,0,0 ElseIf KeyDown(205) MoveEntity camera,0.2,0,0 EndIf End Function