Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / collision problems

Author
Message
zao420
22
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 8th Aug 2003 06:48
hi again. i been trying to figuar out how to get my collison working right.. for some reason my guy hits the wall about 1 little matrix squre away from the objects.. do you guys think this is good collison code ot do you think it will slow the game down if the array gets to big.. also can anyone see why it doesn't go all the way to the objects or could it be just my guy is bigger then he looks..

Attreid
23
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 9th Aug 2003 02:16
hmm there's a line in the bottom of your code that looks odd : if i=17 then i=11
did you post the whole code ?

for your guy's size : if you use a x or 3ds model, yeah, it's biggger than it looks, you should set the collision system to polygons

"He will come...the voice from the outer world,
bringing the holy war, the Jihad, which will cleanse the Universe and bring us out of darkness."
zao420
22
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 9th Aug 2003 04:45
ok i changed the collison to use polygons it worked to get the guy a bit closers i attached two screen shots to show the difference but the buy is still a bit away from it. i plan on using all x models. and that if i=17 then i=11 statement. it just loops it back to 11. probally don't even need it.. anyway is there a way to get them go closer or should i use some other type of collision dection..

here the images
befor

after


Login to post a reply

Server time is: 2026-07-08 01:53:27
Your offset time is: 2026-07-08 01:53:27