Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

111 Neutral

About Pixelguru

  • Rank

Personal Information

  • Interests
  1. Pixelguru

    Swept AABB Collision Detection and Response

    Hey, I've encountered a rather awkward tunneling issue while implementing this. Let's say the situation is as follows: (apologies for terrible scaling : P) Red is the dynamic object's current position. It is moving 4 pixels down and 10 to the right next frame. Black are static objects. Purple is the impact position, Blue is the position by the end of the frame, according to swept. As you can see, since swept does not check the rebound, there is a chance for objects to tunnel on such impacts. My first thought was to repeat collision detection on every rebound, however, this results in nearly infinite loops at low velocities. So, next I tried using basic AABB at lower velocities, but this too failed when sliding at >swept threshold velocities. I've been stuck on this for almost two weeks now - does anyone else have any possible solutions to this issue?
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!