- Home /
Question by
Olbolo · Dec 21, 2020 at 10:19 PM ·
rigidbodyinputrigidbody.addforce
How to add force in direction of vector 2 from new input system
I'm trying to make a party game where I use a rigidbody and add force using a vector 2 from the WASD keys in the new input system/
I'm just very confused how to add force in the direction I need. (I.e. if I press W, it moves forward)?
Thanks for help
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613022008im_/https://answers.unity.com/themes/thub/images/avi.jpg)