Question by
K_Tec · Mar 28, 2017 at 12:45 PM ·
scripting problemtransform
C#- Player Walks into looking Direction.
Hello,
i have a problem: I have Gameobject with the PlayerMoving Script and the Render Camera as Child of the Player with the Mouse Look Script. Now i want that the Players Y Rotation is the same as the Camera rotation. Becuase if i press W now, the player walks into a Direction, if he is Lokking at there or not.
Thanks in Advance!!!!!
Have a nice Day,
12T
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612114134im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Preventing A Teleporting GameObject From Passing Through Walls 2 Answers
How do you access the transform of a gameobject and put it in a variable? 3 Answers
GetChild out of range for index greater than 0 1 Answer
Im trying to set a spawned enemy a transform on another script 0 Answers
How do I trigger a game object to move a desired distance at a desired speed? 1 Answer