I’m making a movement script with velocity so I can use physics for other movement things.
I was wondering if there was a way to make the vector 3 follow the local rotation of the player
current code:
inputVector = new Vector3(Input.GetAxisRaw("Horizontal") * movSpeed, playerBody.velocity.y, Input.GetAxisRaw("Vertical") * movSpeed); playerBody.velocity = inputVector;