Mouse Blocked at screen edges
Hey guys, i'm trying to achieve a pretty simple camera system. If I press and hold the left mouse button I can move the camera, if I release it I can normally move the mouse cursor and interact with the world / HUD. However, the mouse is blocked at the edges of the screen which prevents further camera movement.
Is there a workaround for this?
asked Dec 08 '15 at 01:25 AM in Blueprint Scripting
THIS IS QUOTED FROM ANOTHER QUESTION
"Dont think there is anyway in standard unreal at the moment but Rama have a node for it in his plugin.
~~~ ViewPort & Mouse Cursor ~~~
The Set/Get Mouse Position nodes work directly with the player's viewport, and do not require access to the HUD canvas.
~ Set Mouse Position - SET the mouse position to any values of your choosing!
~ Get Mouse Position - Get the current mouse position, will be consistent with results of SET Mouse Position
~ Get Center Of Viewport - Obtain the coordinates of the center of the viewport! Works in PIE as well as standalone game instances
For more info checkout the forum post about it https://forums.unrealengine.com/showthread.php?3851-(39)-Rama-s-Extra-Blueprint-Nodes-for-You-as-a-Plugin-No-C-Required! "
answered Dec 08 '15 at 03:34 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here