Hey, now to something embarrassingly easy but when I try these vector/angle things, they never work somehow (maybe because of my excellent and superior math knowledge ;D )
I want to adapt some code and use a non-physical object instead of a physical one for my needs.
I need to convert this line:
rigidbody.AddRelativeForce(direction);
into this:
newDirection += direction;
Move(newDirection)…
newDirection needs to be a global vector, how to? The vector is a 3 dimensional one.