Why is my sky sphere not showing up until i get close to it?
load image "space station.bmp",1
autocam off
sync on
load image "rain.bmp",1
load object "AIRPL095.X",10
yrotate object 10,180
scale object 10,200,200,200
fix object pivot 10
load object "ss.x",1
scale object 1,50,50,50
texture object 1,1
position object 1,0,0,0
position object 10,240,10,250
position camera 250,25,250
do
aY# = Object angle Y(10)
aX# = Object angle X(10)
texture object 10,1
Rem Control input for camera
move object 10,10
If Leftkey()=1 then Yrotate object 10,Wrapvalue(aY#-5)
If Rightkey()=1 then Yrotate object 10,Wrapvalue(aY#+5)
if downkey()=1 then Xrotate object 10,Wrapvalue(aX#+.5)
if upkey()=1 then Xrotate object 10,Wrapvalue(aX#-.5)
Rem get player object position and store in X# and Z#
X# = Object position x(10)
Z# = Object position z(10)
y# = object position y(10)
if y# > 100 then y# = 100
if y# < 5 then y# = 5
Rem get new camera position and store in cZ# and cX#
cZ# = Newzvalue(Z#,aY#-180,100)
cX# = Newxvalue(X#,aY#-180,100)
position object 10,x#,y#,z#
Rem position camera
Position Camera cX#,50,cZ#
text 10,10,str$(y#)
Rem point the camera at the player object
Point camera X#,50,Z#
Rem Refresh Screen
Sync
loop
JetRace coming. Watch out!