Disabling camera movement when cursor is visible.
Hello! I'm working on an inventory in a third person game mode, and i want to show the mouse cursor when i press the inventory button, and with that disable the camera movement with the cursor.
With this the cursor is there, but as i move it the camera follows. https://imgur.com/a/8OxbTF5
Any blueprint suggestions?
asked Jun 08 '18 at 06:02 PM in Using UE4
It depends on how your camera movement is setup, but I guess you could just have a boolean in your character like "bIsInInventory" that you put to true when you display the inventory, false otherwise. And in the event in which you move the camera, just check the value of this boolean : if it's true, don't do anything, if it's false, run your camera movement code.
answered Jun 08 '18 at 08:41 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here