hey all, ok so ive got a small setup which involves the player dragging back a set amount, then releasing to fire an object in a set direction, when the player drags back, depending on rotation and position, a ray line is drawn, as seen here
now i have an arrow that stetches out scale as the player drags the mouse back, but what im trying to get is the arrow to rotate in order to face the right direction, is there a way i can make the arrow rotate to match the same direction the ray line is pointing.
the debug im using to display the line is this
Debug.DrawRay(transform.position, forceVector / magMultiplier, currentColor);