I have 3 different size disks - small, medium and large. On start of layout a blue star is created for each and every disk, then pinned to that disk. When the player rolls onto a disk and is overlapping a star it adds to score. But since these different sized disks can overlap each other, as if they were on different layers (they are on the same layer) how can i differentiate what star is pinned to what size disk?
Example - large disk with star is worth 1000 points, medium = 2000, small = 3000.
If there are 2 large disks, one on top of another, and a small disk underneath those two large disks, and the player rolls onto the top most large disk, he should score 5000 points. Large =1000 + large = 1000 + small = 3000.
I know i'm going to need a variable, but i can't seem to get this right, since . . . well . . . i don't know what the hell i'm doing.
Any help is immensely appreciated.