First post, been playing with Construct 2 for a short while, but have learned a ton reading through these forums. Appreciate any suggestions from you guru's out there.
Anyway, I'm toying with a game that would have a paddle that would rotate smoothly around a fixed invisible object at specific degrees like 90, 180, or 360. After doing some research, borrowing some code snippets, and attempting to brush up on my math skills I came up with the attached capx.
Its working pretty closely but I fear something is not correct in the math etc. The problem is when it hits 180 degrees and the mouse moves above the target object the paddle rotates around, the paddle jumps back to the 0 degree position. I want it to just stop at 180 degrees even if the mouse or eventually touched moved above the target object it rotates around.
I have a 90 degree setting in there as well and there is similar jumping behavior with it as well when the mouse is above the target object.
Here is the capx file.
Thanks for looking!