I am trying to put a 3D object into my game, but part of the object is missing.
I am sure it has something to do with the depth or fog commands etc. but I have tried many different commands to rectify this problem, but I can not seam to get rid of the problem.
Here is a very basic stripped down code which shows the problem.
`>>> 3D OBJECT TEST <<<
ObjectID=CreateObjectBox(100,200,300)
SetObjectColor(ObjectID,0,255,0,255)
objPosX=-310
objPosY=1505
objPosZ=-115
camPosX=0
camPosY=1710
camPosZ=-1145
SetObjectPosition(ObjectID,objPosX,objPosY,objPosZ)
SetCameraPosition(1,camPosX,camPosY,camPosZ)
do
sync()
loop
Thank's in advance for any help.
Amazing creations start with a Fuzzy Vision
Dave - Creator, Developer and Visionary
Fuzzy Visions