Tagged Questions
The collision-resolution tag has no wiki summary.
2
votes
3answers
125 views
Ball collisions 'sticking' together
I have a program which simulates many bouncing balls. The balls can bounce off each other and off the sides of the container.
The problem I am having is that sometimes when two balls collide, they ...
1
vote
1answer
282 views
How to resolve concurrent ramp collisions in 2d platformer?
A bit about the physics engine: Bodies are all rectangles. Bodies are sorted at the beginning of every update loop based on the body-in-motion's horizontal and vertical velocity (to avoid sticky ...
4
votes
1answer
110 views
How to separate colliding objects without creating more collisions
Suppose I use a simple discrete collision detection system where I move all objects then check for collisions. I want any colliding objects to be separated (of course) and assigned appropriate ...
1
vote
3answers
124 views
How can I determine the velocity after impact of a 2D ball collision?
Consider two balls moving towards each other. Each has a given mass and velocity. Assuming the balls collide, how can you determine what direction the balls will take afterwards? (taking into ...
9
votes
4answers
364 views
How to deal with corner collisions in 2D?
I'm writing a top down 2d XNA game. Since its my first I'm trying to write the physics and collision stuff myself to learn it.
Whenever my player sprite character attempts to move into a position ...
2
votes
1answer
94 views
Collision Managers and bitmaps
I am rewriting a game I made to use a (custom) collision manager that uses the minimum displacement method. As of now, my simple manager can only recognize and act on a couple of shapes - Circles and ...
3
votes
2answers
186 views
Handling collisions with ground
How do you usually solve collisions between entities and the ground? Sending collision events hardly seems appropriate since almost everything touches the ground at almost all points in time. Calling ...
5
votes
2answers
259 views
Collision resolution in case of collision with multiple objects
I have static objects and movable objects. The collisions are detected using the separating-axis-theorem.
For example, in this situation I have two static objects (in red):
and a movable object ...