Hurrah, I’m not the only one on this forum who suffers from python trouble! CHEERS
If you’ve got spheres, the best help i can give you is the formula for any point on a 3D sphere:
(x-a)**2 + (y-b)**2 + (z-c)2=r2
where a is the x coordinate of the sphere, y is the y coordinate of the sphere, c is the z coordinate of the sphere, and r is the radius of the sphere. And **2 is squared, in case you’re not sure.
Using this, provided you know which spheres you want to run collision detection on, you can calculate their coordinates, and check to see if any of the spheres intersect. If you’re worried about having to run that calculation for every sphere you want to model, just put an if clause at the beginning of your math there checking to see if the spheres are within, oh, say 10 units of each other. If they are, check. If not, don’t bother.
Hope that helped a little.(/me fights off the memories of the maths exam he’s just failed for sure)
LethalSideParting/Karl/LSP (from Monday after this 11 letter change)