So I've been tinkering around with C2 and came across a problem I'm not sure how to solve.
My desire is to have an object inside of a curved sprite (like a circle) pushed outward at an angle from the center of that curved sprite (dependent on it's own position relative to the center). My goal is to have this object to be able to move along the outer edge of that sprite. My geometry is pretty bad since I've been out of school for awhile but I feel like I need to do something with sin, cos, and tan here...just not sure what. I've looked around and raycasting might be helpful? It looks a bit arduous but I'm interesting in learning anything that can be linked or offered.