Questions tagged [response]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
204 views

In a collision detection loop, when do I apply the velocity?

I'm writing a really basic collision detection system (AABB vs AABB, AABB vs Circle, Circle vs Circle), and I've just got to the point of writing the actual loop which iterates the objects and checks ...
Kazade's user avatar
  • 590
4 votes
2 answers
2k views

How to resolve collision between a dynamic AABB and static AABB?

I wanted to ask, how do I resolve collision between 2 cubes - in my case I want to push a moving / dynamic cube (used for the player) out of another static cube (used for the floor or objects in the ...
BigThinker's user avatar
1 vote
2 answers
317 views

Help finding time of collision

I am making a simple game right now and am struggling with collision response. My goal is to someday be able to turn it into a 2D platformer but I have a long way to go. I am currently making this in ...
WannaBe's user avatar
  • 11
2 votes
2 answers
219 views

How collisions should be handled in terms of design

I'm not sure how should I design the collision part in order to respond the all the game requests. First that comes in mind is 1. Update the game objects positions 2. Check the collision 3. Update ...
Spider's user avatar
  • 125
2 votes
1 answer
185 views

How to determine depth of a pixel perfect collision

I am trying to figure out how to determine the depth of a pixel perfect collision in XNA. I want to know the depth in order to be able to use it in my collision response. At the moment I have the ...
jgallant's user avatar
  • 8,374