ok so i got the rings on and im happy with how it looks apart from one thing when it orbits the plain texture overlaps the sphere texture
sync on
sync rate 60
backdrop on
color backdrop rgb(0,0,0)
autocam off
`variable
`images
load image "C:\Users\anfrew\Desktop\pac man media\media\Bitmaps\Sun__.bmp",1
load image "C:\Users\anfrew\Desktop\pac man media\media\Bitmaps\earthmap.bmp",2
load image "C:\Users\anfrew\Desktop\pac man media\media\Bitmaps\jupiter.bmp",3
load image "C:\Users\anfrew\Desktop\pac man media\media\Bitmaps\mars.bmp",4
load image "C:\Users\anfrew\Desktop\pac man media\media\Bitmaps\mercuary.bmp",5
load image "C:\Users\anfrew\Desktop\pac man media\media\Bitmaps\neptune.bmp",6
load image "C:\Users\anfrew\Desktop\pac man media\media\Bitmaps\saturn.bmp",7
load image "C:\Users\anfrew\Desktop\pac man media\media\Bitmaps\uranus.bmp",8
load image "C:\Users\anfrew\Desktop\pac man media\media\Bitmaps\venus.bmp",9
load image "C:\Users\anfrew\Desktop\pac man media\media\Bitmaps\rings of saturn.bmp",10
`camera
set camera range 0,0,800
position camera 0,0,9000,9000
point camera 0,0,0,0
` sun
make object sphere 1,3000,100,100
position object 1, 0,0,0
make mesh from object 1,1
texture object 1,1
`add limb 1,1,1
`offset limb 1,1,0,0,0
`hide limb 1,1
`planet m
make object sphere 2,30
position object 2, 0,0,2000
texture object 2,5
`planet venus
make object sphere 3,78
position object 3, 0,0,2300
texture object 3,9
`plant mars
make object sphere 4, 42
position object 4, 0,0, 2600
texture object 4,4
`planet earth
make object sphere 5,81
position object 5,0,0,2900
texture object 5,2
`planet uranus
make object sphere 8,333
position object 8,0,0,3200
texture object 8,8
`planet jupiter
make object sphere 6, 927
position object 6,0,0, 4000
texture object 6,3
`rings of saturn
make object plain 12,1500,1500
xrotate object 12,90
set object transparency 12,5
position object 12,0,0,0
texture object 12,10
`planet saturn
make object sphere 7, 789
make mesh from object 3,7
position object 7,0,0,5200
texture object 7,7
add limb 7,1,3
offset limb 7,1,0,0,0
glue object to limb 12,7,1
hide limb 7,1
`planet neptune
make object sphere 9,324
position object 9, 0,0, 5700
texture object 9,6
`asteorid
make object sphere 10,100
make mesh from object 10,1
position object 10, 0,0,5700
point object 10,0,0,0
`set object collision to spheres 10
`limbs for asteroid
`front limb
add limb 10,1,10
offset limb 10,1,0,0,0
hide limb 10,1
`variables
for a = 1 to 9
` set object collision to spheres a
next a
do
`fps
FPS=SCREEN FPS()
TEXT 0,0,"FPS: "+STR$(FPS)
x# = object position x (a)
y# = object position y (a)
z# = object position z (a)
`if object collision (10,x) >0 then move object x, 10
`player controls
rotate camera camera angle x(0)+(mousemovey()/2.0),camera angle y(0)+(mousemovex()/2.0),0
if upkey () = 1 then move camera (0),5
if downkey () = 1 then move camera (0),-5
if leftkey() = 1 then xrotate camera (0),5
if mouseclick()= 1 then move object 10,10
`sun axis rotation
move object 1,5
turn object right 1,0.5
pitch object up 1,0.5
move object 1,-5
`planet m rotation
move object 2,-2000
turn object right 2,1.5
move object 2,2000
`planet venus rotation
move object 3, -2300
turn object right 3,0.89
move object 3, 2300
`planet earth rotation
move object 5, -2900
turn object right 5,0.74
move object 5, 2900
`planet mars rotation
move object 4, -4200
turn object right 4,0.62
move object 4, 4200
`planet jupiter rotation
move object 6, -4000
turn object right 6,0.52
move object 6, 4000
`planet saturn rotation
move object 7, -5000
turn object right 7,0.504
move object 7, 5000
`planet uranus rotation
move object 8, -3200
turn object right 8,0.502
move object 8,3200
`planet neptune rotation
move object 9, -5700
turn object right 9,0.4
move object 9, 5700
if intersect object (10,limb position x (10,1),LIMB POSITION y(10,1),LIMB POSITION z(10,1),0,0,0) = 1 then move object a,90
sync
loop
how do i stop that from happening because it happens with the other planets as well when they go beyind the sun