- Home /
Question by
magarabozag1st · Apr 28, 2020 at 01:42 PM ·
movementscripting beginner
Moving my player with an angle
3D
angle = Mathf.Atan2(horizontalInput , verticalInput);
angle = Mathf.Rad2Deg * angle;
I stored my angle like this but i dont know how to use it to make the player move
Is there a way to translate this angle into a Vector3 or just to use it with a specific method?
Or do i need to store the angle in a different way?
Comment
Your answer
Follow this Question
Related Questions
Slide in one set direction 1 Answer
How do I stop my character from sliding after adding force? 0 Answers
how to make particles activate when object moves 3 Answers
Helicopter Controls 1 Answer