Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

figgy

Why is there a crack in my wall?

This topic is 6524 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, picture two right angle triangles joined together along the Hypoteneuse. You see a rectangle or in my case a wall. I have put together a collision and response routine that works upto a point. My question is this. Why is it that when i am sliding along the wall, sometimes i pass through the wall at the point where the two polys join? Is it because the intersection point is not contained within either triangles, but lies on the very edge, making my routine fail? Or is it a flaw in my routine caused by something else? I''ve still to implement closest point on triangle to sphere. Maybe that will solve my problem but i won''t start that if there''s something not quite right with what i''v currently got. Any thoughts would be appreciated. cheers Mark.

Share this post


Link to post
Share on other sites
Advertisement
well.. the points A and B of each triangle (the ones that are the endpoints of the hypotenuse (sp?)) should exist on each other. you did that yes?

Share this post


Link to post
Share on other sites
I think you answered your own question.

"Never pet a burning dog." - Warcraft II

Share this post


Link to post
Share on other sites

  • 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!