• Advertisement

Archived

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

Detection Collision for NeHe's lesson 23

This topic is 6208 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, On my site, you''ll find a detection function who works. http://slug-production.ibelgique.com ==> "Download" section. ======================== Leyder Dylan Site : http://slug-production.ibelgique.com E-Mail : dylan.leyder@ibelgique.com

Share this post


Link to post
Share on other sites
Advertisement
This is EXACTLY what I meant. Thanx. But then again, it is exactly the type of function I was afraid to find too.......;-)

Thanks anyway, I will try to polish it a bit.

Best regards
JohnE

Share this post


Link to post
Share on other sites
I added triangle to triangle - collision detection to lesson 23.
it allows all (or about all) wall angles.
i''m tring to get it posted on the nehe news site (source and .exe).Cause, I don''t want e-mail requesting it.

It worked great for slower moving objects.But, Pass-through
objects and walls can happen(if the step rate is too high).

BGCJR

Share this post


Link to post
Share on other sites
Hi,

If you make a new version of the function, send me a mail.

My function has a problem :

Example :

-5.0 0.0 0.0 --> left cornen
5.0 0.0 1.0 --> righ corner

If you do that, the collision detection will not work because the Z value is not the same that the first. Of someone can fix this problem, it''ll be excellent !

========================
Leyder Dylan
Site : http://slug-production.ibelgique.com
E-Mail : dylan.leyder@ibelgique.com

Share this post


Link to post
Share on other sites

  • Advertisement