Hello Experts,
I thought I solved the issue but not really : when I launch my game after packing, I use the mouse to look around my mansion, and it works just fine… until I clic once, and then if I mouse the mouse nothing happends, I have to press leftmouse button (or riht mouse button) so that I can look around again, and when I use a camero to focus on a keypad and get out of the view of the widget of the keypad, the mouse is working again, and if I clic one time, it starts over … How can I make the mouse look around even after clicking ?
Hey there @KALRYSSIAN! Just so I understand, you’re unable to move the camera after you click? Are you working from the first person character? Could we see the issue occurring?
Hello !
Yes I have a firstperson mode game, what happens is that when I launch the game from the .exe, when I move the mouse to the left it displays what is in the left, same thing with right/up/down : if I want at the beginning of the game to see the ceiling, i move the mouse up and I see it, the camera follows the mouse, which is perfect
But from the moment I clic one time, it is like if the mouse is “captured” and cannot move unless I press a button : if I want to see the ceiling again, I have to press a mouse button (left or right) then go to the top with the cursor to see the ceiling …
It is as if the game wants to prevent my cursor to go outside of the game …What I need is a way to tell the game not to capture the cursor of the mouse … Any idea please ? I heared about a functionnality called “Set Input Mode Game and UI” do you know if it can help me ?
Additional information : on the playerblueprint, when I remove the link between eventbeginplay and set show mouse cursor, then I compilen it works : the camera follows the movement of the mouse, but there is no pointer, so i cannot clic …
Set input mode Game only will make sure your inputs can’t be accepted by UI (if your issues were hitting the UI this may help). Setting show mouse cursor is intended to stop the game from recognizing your mouse movements so that you can maneuver around the screen. What is your use case? For example, if it’s a first person game, but you require the ability to detach your cursor from movement temporarily to click other objects on screen, we will have to set things up differently.
Thank you for your very instructive answer !
My need is to move the camera with the mouse AND to be able to click on something to display it. Is it even possible, please ?
Ahhh so I may be misunderstanding, but wouldn’t traces and picking them up that way fulfil your needs?
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.