Answers for "force in direction"

0

force in direction

Vector3 dir = Quaternion.AngleAxis(angle, Vector3.forward) * Vector3.right;  rigidbody2D.AddForce(dir*force);
Posted by: Guest on May-12-2021

Browse Popular Code Answers by Language