Question by
LoneWolfSwat · Dec 02, 2017 at 07:04 PM ·
vector3directionforceforwardlocalposition
How to make a object move forward when is rotated.
I use rigidbody for this, I just place:
_myRigidbody.Force(*//I WANT TO MOVE IT FORWARD WHILE ROTATION IS: 30,60,0//* * _myVelocity, ForceMode.VelocityChange);
I used "Vector3.forward" and "transform.forward", but he goes in worldSpace direction, not local direction.
Comment