d_tex=LoadTexture("media/Chorme-2.bmp")
<br />
EntityTexture plane,ground_tex
<br />

<br />
cube=CreateCube()
<br />
EntityPickMode cube,2 ; Make the cube entity 'pickable'. Use pick_geometry mode  no.2 for polygon collision.
<br />
cube_tex=LoadTexture("media/b3dlogo.jpg")
<br />
EntityTexture cube,cube_tex
<br />
PositionEntity cube,0,1,0
<br />

<br />
While Not KeyDown( 1 )
<br />

<br />
If KeyDown( 205 )=True Then TurnEntity camera,0,-1,0
<br />
If KeyDown( 203 )=True Then TurnEntity camera,0,1,0
<br