Skip to main content
gamedev.net
🔒 Locked

maps model collision

Started by afsajghfd Nov 27, 2008 at 3:53 PM 2 replies 850+ views
Original Post
afsajghfd
afsajghfd
Hi all, i would like to know.. how can i collision objects with a map done in 3D studio max? For example, in my "game" i have two ships and i actually can detect if they collide. It's very simple 'cause are only two objects. But how to do it with a exported map ?? It's supposed that a map have lots of polygons, so i can't even imagine doing collision test against all they.. I'm using XNA btw Thanks in advance and sorry my poor english
Evil Steve
Evil Steve
Usually you'd have a lower resolution version of your map for collision geometry, and you'd usually use some sort of spatial partitioning like an octree to split the map into smaller chunks, then you only need to raytest polygons in the current node.
afsajghfd
afsajghfd
what it's the correct name of this ? (to search in google)

thanks for your answer
Evil Steve
Evil Steve
Quote:
Original post by afsajghfd
what it's the correct name of this ? (to search in google)

thanks for your answer
Spatial partitioning.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.