I am trying to figure out a way to AddForce to a rigidbody according to its direction of movement (not rotation)
For instance, I have a player rigidbody moving at a speed of 20u/s forward and 5u/s to the right but facing toward the rear. How can I AddForce to his current forward and right direction of travel independent of where his camera (or other controls) are facing?
Thanks.