How do I take the mouse's moving position and convert it to world position?

Hey @MAA7!

Unfortunately, there’s not really enough to go on to answer your question! You are saying you “want it to rotate without clicking”- but we don’t really know what “it” is. The camera? The player? A selected pawn?

I get that you want a collision to follow the cursor. But it seems like you want:

  1. Something to rotate whenever you move the mouse.
  2. For there to be a collision volume under the mouse. Is this top down? do you want this to be at a ground level, if so?
  3. I’m not really understanding what you need world position for the mouse, the mouse lives in 2D on your viewport (X and Y, no Z) so it doesn’t have a world position.

Can you clear things up a bit? Then we’ll see if we can help more easily!

1 Like