Archived

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

gotG

AINT NO MOUNTAIN HIGH ENOUGH

Recommended Posts

how is collsion detection with landscape handled. I can use bounding boxes for normal objects in a scene but what about the ground? i like to walk over bumps and not through them.

Share this post


Link to post
Share on other sites
Depends on how your landscape data is stored too... if you''re using a height-map, simply finding which quad you''re over, and interpolating between the 4 corners (depending on your exact location in that quad), you can figure out what the height you''re supposed to be at. That''s how I do my lanscape collisions in my engine so far, works great :D

Billy - BillyB@mrsnj.com
(Hey, I''''m no longer anonymous!)

Share this post


Link to post
Share on other sites