Hi all,
Do you know what's wrong with these codes?
I did use scaleEntity cub, 1,.5,2 (not a cube)
However, cub appears as if without using scaleEntity (ie. still a cube)
If I use "cam = createCamera()" without parent inside, Everything is ok.
Why? Any ideas?
Thanks in advance
Do you know what's wrong with these codes?
I did use scaleEntity cub, 1,.5,2 (not a cube)
However, cub appears as if without using scaleEntity (ie. still a cube)
If I use "cam = createCamera()" without parent inside, Everything is ok.
Why? Any ideas?
Thanks in advance
Graphics3D 640,480,16,2 SetBuffer BackBuffer() lit = CreateLight() cub = CreateCube() ScaleEntity cub, 1,.5,2 cam = CreateCamera(cub) PositionEntity cam,0,5,-10 pln = CreatePlane() tex = LoadTexture("floor.bmp") ScaleTexture tex, 10,10 EntityTexture pln,tex PositionEntity pln, 0,-1,0 Repeat If KeyDown(200) MoveEntity cub, 0,0, .1 If KeyDown(208) MoveEntity cub, 0,0,-.1 If KeyDown(203) TurnEntity cub, 0,1,0 If KeyDown(205) TurnEntity cub, 0,-1,0 UpdateWorld RenderWorld Flip Until KeyHit(1) End