I’m attempting to replicate a camera function from Simcity where a user Right-Clicks and drags the mouse to pan the camera. The further the mouse is dragged away from the point of the initial right-clicked will result in a faster camera pan.
For reference: http://i.imgur.com/omyLfCS.gifv
Any help would be appreciated!
Try this
didn’t worked for me…
What is that node with the set initial mouse position
It is a “vector 2D structure” variable, if you right click it and click on “Split Struct Pin” you will get X and Y as it is in the picture
same here i cant figure out why