Mouse resets when i right click

Hello,

when I right-click my mouse resets to 0,0,0. What’s the problem behind that?

Looks like there’s some context missing. Can you add a little more detail on what are the steps to reproduce and what actually happens?

What actually resets? Does your mouse jump to (0,0,0) in world space, does your unit move to (0,0,0) world space, does your unit rotation reset to 0,0,0?

I’m going to guess it’s something related to a Vector3 not being initialized correctly or a + sign missing but can’t tell without more detail.

Privacy & Terms