Archived

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

openwannabe

problem with collision detection in a 3ds world

Recommended Posts

i''ve made myself a world in 3studio max, which i load into my project with a 3dsLoader. i''m using a sphere/line collision on my character (is this the best method??) in order to stop in walls etc... in order to detect collision i''m using a 3 dimensional table where i store the x,y and z verteces. i set these values in the render method, in a model class. this works fine when i moving towards the walls, but at some spots, besides the walls, my character is detecting collision. i''ve drawn the vertices based on my "3 demensional collision table" and studied the lines with wireframes, but there aren''t any lines which my character should interfer with. i hope i''ve someone understand my problem, and maybe have an explanation... thanks in adv openwannabe

Share this post


Link to post
Share on other sites
>>''m using a sphere/line collision on my character (is this the best method??) in order to stop in walls etc...<<

aye, the player is a linesegment + the wall is a sphere?

http://uk.geocities.com/sloppyturds/gotterdammerung.html

Share this post


Link to post
Share on other sites