This question was
closed Jan 31, 2016 at 02:32 PM by
Acerkake for the following reason:
Got the answer at http://stackoverflow.com/questions/35113334/vector2-intersection
Vector2 intersection
I'm developing a little 2D game and i have to predict when and where things will collide.
So, i've got four Vector2 :
A position
B position
A linear velocity
B linear velocity
I have to predict if they intersect, where they intersect and at what time from now.
I've found many math solutions but i could't translate them into code.
Comment
Follow this Question
Related Questions
Need some help programming basic AI movement 0 Answers
Turn a vector3 relative to a look direction 1 Answer
Find a point in space using Vector3 angles and Raycast 1 Answer
Applying direction into transform position 0 Answers
Can someone explain the math behind finding the velocity relative to where I'm looking? 2 Answers