- Home /
Having a first person player look at the mouse on the y axis
Hi, I use to be able to do this but with the changes to locking the mouse position I am stuck. I want my character to rotate around the y axis and follow the mouse. My scripts have all not worked so I would really appreciate a response or a point in the direction of another question like this one which has been solved.
Thanks!
I have a capsule as my player and move it forward along its local z axis. All my rotation scripts the player lags behind the camera. Hope this helps answer the issue.
Answer by tormentoarmagedoom · Sep 10, 2018 at 06:40 AM
Good day.
But give us something.... If not,m go find one of the dozens of posts about this issue....
Bye.
Would you $$anonymous$$d pointing me to a good one as I have been looking for a recent one which does not use the old cursor locking function. It would be hugely appreciated.
I have looked through 2 pages of google and youtube search results and most of them had either not applied to my situation (focusing on the camera, resulting in the player falling over) or they have used the old mouse freezing element. If you are not going to send me to one, please do not comment just search it up as it frustrates me when I think someone is actually giving me an answer. I understand seeing posts like this may be annoying, but some people are not very good at coding and need a lot of help implementing scripts correctly. I am one of those people, so I would really appreciate if someone pointed me in the right direction. If I am wasting your time, sorry. That does not mean you have to waste $$anonymous$$e. If you are going to, say it, don't point me to a website to get my hopes up. Thank you.
Your answer
Follow this Question
Related Questions
click to move workig script!! but pls help with rotation!! :( 1 Answer
How do I move the player towards the direction of the camera using cinemachine? 0 Answers
Vertical mouse input inverted when player is turned around 0 Answers
How to rotate Character on Y axis along with the mouse rotation? 0 Answers