New answers tagged


If you want to get position A relative to B, you just need to substract them, like you were doing. If you want to make use of the methods, you can use the method "sub": Vector2 relative = A.sub(B); //contains the position of A relative ...

Top 50 recent answers are included