OK what is a child? Why use child? (no poetry about children please!) : )
-RZ
-RZ
pivot = CreatePivot() camera = CreateCamera() EntityTexture camera,pivot
Graphics3D 800,600 SetBuffer BackBuffer() light=CreateLight() pivot=CreatePivot() camera=CreateCamera() EntityParent camera,pivot PositionEntity camera,0,0,-5 cube=CreateCube() While Not KeyHit(1) If MouseDown(1) Then MoveEntity camera,0,0,1 If MouseDown(2) Then MoveEntity camera,0,0,-1 If KeyDown(203) Then TurnEntity pivot,0,1,0 If KeyDown(205) Then TurnEntity pivot,0,-1,0 UpdateWorld RenderWorld Text 0,0," MOUSE BUTTON 1 : Move camera forward" Text 0,10," MOUSE BUTTON 2 : Move camera backwards" Text 0,20," LEFT ARROW key and RIGHT ARROW key : turn the pivot Flip Wend End