Hi there!, are there any programmers/physicists/mathematicians who could help me with collision response? I don't understand how to deal with multiple collisions at the same time.
Do you have a question?
I need a pseudo algorithm that can deal with the following example: http://s27.postimg.org/iawery64z/Collision_response.png
A pseudo algorithm, as in a programming pseudo algorithm?
well.. i just need to know how to deal with the normals... in what new direction should the ball be traveling after solving the collision. It is obvious that the ball should stop moving, but what rules dictate that it should?
At the point of impact, I dont think it matters that the object in the middle is moving, however, you will need to consult someone with physics knowledge just to be sure.
Do you have any physics knowledge perl?
i have some, but this might be outside the scope of what i know.
the ball is moving, the two static objects are not moving, they are fixed
yes
the ball is being pulled down by gravity (or any other force for that matter)
we see from the diagram that the diameter of the ball is bigger than the space between the two static objects. this prevents the ball from going through
In case of 2 edges that are perpendicular to each other, I can just project the direction vector onto the edges and it would stop moving, but in this case it won't.
Join our real-time social learning platform and learn together with your friends!