alright, heres what i want to do:
There is an instance of a ball on the stage and what it does is rotate around a center point (in a circular path). I’ve made that center point the center of the stage. Doing just this, it works perfectly.
The next step I’ve taken is trying to make the ball draggable and get it to rotate differently based on its new position. When it is not being dragged, a radius variable should adjust to the new position of the ball in relation to the center point. Using the new radius (which is the distance from the center point to the position to the ball), it should rotate around the centerpoint differently depending on the position of the ball. To illustrate, if the ball is farther away from the center point, it will rotate around a larger radius. If the ball is closer to the center point the radius of rotation should be smaller (or the circular path it moves in is smaller).
I’ve tried to add this mouse functionality, and it doesn’t seem to work. Does anyone have an idea of how to get this to work? :h:
If anyone wants to see the file (there are 2, one with no mouse functionality which is working and one with it but doesn’t work) or have any questions, just ask.
Thx.