Jump to content
  • entries
    732
  • comments
    1562
  • views
    494295

Polygon fixes

Sign in to follow this  
Ravuya

187 views

SHilbert and I worked through the night last night to figure out a fix for my polygon collision behaviour.

The issue was that the player could slide off of one wall and "rebound" through another very slowly. You can see the behaviour in
">this low-quality YouTube video.

It turns out the problem was that I used 'continue' in an inner loop when I meant to make it continue from the outer loop; this is the same issue as the AT&T Crash which paralyzed the United States' telecom infrastructure in the early 90s. So at least I'm in good company.

Anyway, I'm glad I fixed this bug without a ton of math required; Afterglow feels more solid now and I should be free to implement more functionality.

I will probably make another (higher quality) YouTube video eventually when I have more to show off.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!