I am not quite sure how to phrase the question but I tried my best. Alright, I have my function to go forward, bla bla bla. The real problem I am getting from this script is the inability to move my character the direction it is pointed to. Here is my line
Distance is a variable btw,
rigidbody.Addforce(Vector3.forward*distance*Time.deltaTime)
I have tried this aswell…
rigidbody.Addforce(Vector3(0,0,distance)
and this does work except it only moves in the position that was set in the beginning, or in other words, when I rotate it, it doesn’t go in the direction it is facing, any ideas on how I could, move it in the direction it is facing.
I’m a complete newbie with JavaScript and I would like to know, so I can finally get my character moving properly
Thanks in advanced :D.