Search Unity

Question Set Mouse Position in Bolt

Discussion in 'Visual Scripting' started by DestroyerMCE, Aug 25, 2020.

  1. DestroyerMCE

    DestroyerMCE

    Joined:
    Jan 20, 2019
    Posts:
    1
    I'm trying to get camera controlling set up in a 3D game with bolt. I have the code to get the mouse position from the center of the screen, an the yaw rotation, but I cant find a set mouse position unit anywhere. I tried googling it to see if it had some weird name, but couldn't find anything. If it wasn't clear, I'm trying to do something similar to what I assume minecraft does, getting the mouse's position, rotate the player, and move the mouse to the center of the screen, and that is what I am struggling with.
     
  2. Siro13

    Siro13

    Joined:
    Jun 30, 2014
    Posts:
    33
    This is a very good starting point: