How to rotate a Pivot with a front facing Player with a mouse?,Does anyone know the code for front pivot movement using mouse to aim?
i would like to known how to rotate a pivot using a mouse i have searched it countless times and have had no luck if you could give me the code or help me out that would be appreciated. :D
,I cant get it to work i have watched hundreds of tutorial's and none have worked for what i am trying to do if someone could help out that would be appreciated.
Answer by sztobar · Oct 10, 2020 at 07:51 PM
Try to search with more generic keywords. I entered in google "unity rotate in direction of mouse" and the first result was a question at answers.unity.com which is quite similar to what you want to achieve. Take a look at it and tell me if it solves your problem.
tried it but none of them work they are all to make the player look towards the mouse i want the arm to move towards the mouse and nothing i did made it work properly thank for the suggestion tho. :)
It sounds like you've added the script to the player, add a c# script to ArmPivot game object instead.
no i put it on the arm pivot with all the right settings so i don't know i tried most things
Your answer
Follow this Question
Related Questions
Player is not changing color from hitting enemy 0 Answers
How do I code one Ball to be a universal player? 2 Answers
2d unity game Camera issue 0 Answers