I would like to rotate a sprite using the coordinates of another object, as shown in the image.
I found some tutorials that have a thematic appreciated,
https://www.scirra.com/tutorials/44/usi ... ng-objects
https://www.scirra.com/tutorials/1064/s ... slider-bar
but I am not able to apply the concept, I need help to put the mathematical formula into events.
I would like sprite 1 to have the drag and drop behavior, only while it was not being dragged, sprite 2 would rotate using the coordinates of sprite 1 as the pivot point.