HitTest for scalable Orbital System

Hey vvvvolks,

I’m working on a project that consists of some kind of interdependent Orbital System which is used for a generative sequencer (well, not 100% generative, it’s controllable to some extent).
Basically you can create scalabe orbits and put satellites on those.
In case a satellite hits another orbit, an event is triggered.

And this is what my question is about.
Right now I’ve got a HitTest (Circle) for this, but if I just connect all Orbit-Transforms and Satellite-Coordinates to it, the HitTest triggers even on a satellite’s OWN orbit, which is unwanted behaviour.

I added a sample patch to clarify my problem.
Imagine the depicted situation with 5+ Segments (each has its own, varying amount of cycling satellites), all intersecting.

Is there any way to solve this?
Maybe it’s not too hard, but right now (4am) I’m not able to come up with a solution anymore …

Thanks!

HitTest Orbital.v4p (12.8 kB)

Well … after 4 hours of sleep I came up with this really simple solution:

I just scaled the XY-Coordinates connected to the HitTest’s PointsXY-Pin by a very small factor.
They now are handled as if they were floating a little more outside the orbit, visually it makes no difference.

Et voila, I just get the triggers I want … really simple, I blame it on my lack of sleep ;)

-readme