I've got this little program which just doesnt want to behave as it should..
Whats wrong with it ????
As you can see its nothing special, just creates a box, a pivot and finally a camera.
But for some reason the 'scaleentity' command on the box wont take effect. No matter the values or size, it just wont change ?.
Is this a bug ? (since the box is the main entity for the others) - or am I doing something wrong ??
Thanks Paul.
Whats wrong with it ????
Graphics3D 800,600,32,2 SetBuffer BackBuffer() light=CreateLight() box=CreateCube() PositionEntity box,0,0,0 ScaleEntity box,1,0.5,1; <-- THIS LINE camerapivot=CreatePivot(box) camera=CreateCamera(camerapivot) MoveEntity camera,0,0,-7 While Not KeyHit(1) If KeyDown(200) MoveEntity camera,0,0,0.5 If KeyDown(203) TurnEntity camerapivot,0,-1,0 If KeyDown(205) TurnEntity camerapivot,0,1,0 If KeyDown(208) MoveEntity camera,0,0,-.5 UpdateWorld RenderWorld Flip Wend End
As you can see its nothing special, just creates a box, a pivot and finally a camera.
But for some reason the 'scaleentity' command on the box wont take effect. No matter the values or size, it just wont change ?.
Is this a bug ? (since the box is the main entity for the others) - or am I doing something wrong ??
Thanks Paul.