I tried creating a sky sphere and I placed a matrix inside the sphere, but my player .x file gets kicked out of the sphere due to collision. Is there something I am doing wrong?
load image "sun_001.jpg",4
make object sphere 4,50
I also tried creating a sphere and moving it in an arc over the matrix. This worked ok, but the light won't reach down to the matrix, even though I set the light distance to well over the distance from the sphere to the matrix ground. Is there some way to get a sphere to radiate light like the sun or moon?
`make celestial sphere
load image "sun_001.jpg",4
make object sphere 4,50
make light 1
`control celestial body movement
if sunx#<=1000 then suny#=suny#+3.333
if sunx#>1000 then suny#=suny#-3.333
sunx#=sunx#+2.4
position object 4,sunx#,suny#,0
color light 1,255,255,255
position light 1,sunx#,suny#-75,0
point light 1,sunx#,0,0
set light range 1,5000
Thank you for your help,
Cyril
With math all things are possible