Hey guys hoping someone can help, I’m currently messing around with the built in third person BP I’ve changed it so that you can only rotate the camera now when you hold the right mouse button down, and added the zoom in zoom out ability for the camera, however I want to set it up so when you are not holding the right mouse button you can see and use your cursor, and when you are right holding it the cursor disaperes, however I cant find the ability to even show the cursor, by default its just not there.
[Update] I got this to work, however I’m running into an issue now. If i never LMB click I can pan left, right, up, down with the camera endlessly, but the second i LMB Click even once, I’m bound by the area of the screen the second my invisible mouse cursor hits and edge i can pivot the camera anymore.
Bit hard to see exactly what is happening there however a work around maybe to capture the mouse coordinates before the right click and store them, then after release set the mouse coordinates to their stored location.
Are you aiming for a User Interface similar to World of Warcraft? Mouse movement of Character but also able to move mouse to click on UI elements?
If so I’ll see what I can put together and upload a template.
haha I am actually, not for any particular reason, but just because I wanted to attempt something small from the start.
I like the idea of storing the co-ordinates, I don’t think it will solve the issue i’m having, however I like the idea of after right clicking the mouse being where it was prior. The mouse doesn’t get restrained to the window on Right Click, its only after i click with the left mouse button that it activates something, and then on right click it is constrained to the window so I can’t just keep turning i get stuck on the edges that’s why in the video it just stops mid slide after i click with the left button. I’ll archive and upload the Blueprint maybe.
here is my ThirdPersonBlueprint assest, every other asset is identical to the default ones when you create a new ThirdPerson game, i added some new buttons thought in the Project Settings ill screenshot.
Thanks! I haven’t got a whole lot of time to look at it all since I’m just on my lunch break for work, however I will use this as a good reference to complete mine and will share when done, from what I noticed though, if I add the ThirdPersonController to the way I had mine set up it should fix the mouse issue I had I guess? I’ll take a crack at it after work
I was trying all last night to do the next step, but I can’t seem to figure it out, I want to add it so “When RMB Down” Rotate the Character Mesh to face the direction of the Camera Boom, so as you rotate your player rotates on the X-Axis in the direction of the camera, as well when I had that I wanted it so when you move the camera with the LMB it doesn’t affect the direction of the player just the camera but, If I can figure out the first part I think I could figure out the second.