[Solved] Rotate towards position/angle don't work on desktop, but work in browser version

Check the EDIT at the bottom

Ok, this is weird. So if I use “rotate towards position” (or angle) to turn a sprite towards the mouse (MouseX() & MouseY() ) on the desktop version, then the sprite loads pointed at where the mouse is when the preview launches, but then stays static at that angle.

If I do the exact same thing in the browser version, it works perfectly fine. So what I am doing is fine from a programming point of view. So what is causing this weird issue?

I am running 4 screens (3 horizontal and one above the centre). Could this be a problem? I have tried running it on a single screen but it doesn’t solve it. So it must be something else. Any thoughts or help would be appreciated because I’m all out of ideas.

EDIT : I’m still unsure what is happening, but something is now working which didn’t before, and it’s very confusing as to why. So for now ignore this thread. Sorry if I’ve wasted anyones time! Though I’m unconvinced that I have fixed it yet. I shall see, and I’ll post a confirmation if I have. Cheers

Can you post the events?

I’m still unsure what is happening, but something is now working which didn’t before, and it’s very confusing as to why. So for now ignore this thread. Sorry if I’ve wasted your time! That said, I’m unconvinced that I have fully fixed it yet. I shall see, and I’ll post a confirmation if I have. Cheers

1 Like

OK, I seem to have it working. Totally odd, and I don’t have an answer. Feel free to close or delete the thread. My apologies!

1 Like