Question by
ItchyCloud · Dec 22, 2017 at 12:05 PM ·
2dpositionmathvector2
Advanced placing position from the same angle of target position
Let's say I have vector(3,2) and multiplied it by two but the output is not at the same angle as 3,2
What I'm trying to achieve is like I'm piercing from initial position and my final position will be at the back with some distance from the initial position.
transform.position = Vector2.MoveTowards(transform.position, targetPosition * 2, step);
Comment