OnCollisionCircle returns 1 if the circles are colliding, or 0 if they aren’t. How do I make the two circles collide with one another? Desmos senses when they are colliding, but how do I stop them from intersecting one another?
I’m not sure how you’d physically stop the movement without a ticker. But if you’re looking to create something dynamic I think something like this would be an initial step. Just include a little loop that moves the larger circle when the smaller one triggers the 1 condition.
I may have overcomplicated it, but I created a new variable with a condition that if they’re not colliding, circle 2 moves freely, but if they are colliding, c2 is restricted to a position just touching the circle.