I want to know the math behind the pin behavior.
Reason being is that I want to pin an object but also be able to put behaviors on the object like bullet to create advanced movement.
So, how can I calculate the position of a sprite by "pinning" it to something, but without using the behavior itself?