Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    63
  • comments
    56
  • views
    44373

Gah, BSP collision detection

Sign in to follow this  
rick_appleton

267 views

So for the past few evenings I've been working on fixing my BSP collision detection. I found out it was too simple to just take the bottom of the current leaf as the floor :)

So I've been testing all kinds of stuff, and it just wouldn't get it right. I've been going through a simple level by hand and it seemd to go to the wrong leaf at the end. Then yesterday I finally found out I had to get leaf number -(leaf+1) instead of -leaf.

Then this morning I checked the docs to see if that was in there as well, and it was :(. That'll teach me to read quickly! But at least now it's working :D Next stop is fixing the quaternion interpolation in the Doom3 models.
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.

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!