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.

Dark GDK / Collision with 3d modeled objects

Author
Message
Parry
AGK Developer
14
Years of Service
User Offline
Joined: 16th Dec 2009
Location: Swampstone
Posted: 31st Dec 2009 02:12
Im loading two models from .x files ( a person and a oddly shaped building) and they are getting collision ( dbObjectCollision() ) before they even come close to touching.

I can somewhat correct it with dbSetObjectRadius() but then the person model can run through walls on parts of the building and still not come close to touching the building on another part. dbSetObjectRadius() seems to make square collision boundries but the building isn't square. Is there a better fix for this or am I missing something?

Code loading the models:

Freedom Fighters
15
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 31st Dec 2009 09:05
use sparks collision. its much better and useful for odd objects.
see here -> http://forum.thegamecreators.com/?m=forum_view&t=74762&b=5

Problem Solution That Never Fails: "Build A Bridge And Get Over It"

Login to post a reply

Server time is: 2024-11-20 07:23:56
Your offset time is: 2024-11-20 07:23:56