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 / Setting Up Bounding Box for Sliding Collision

Author
Message
lesPaul456
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location:
Posted: 28th Dec 2009 23:08
Hello,

I'm hoping someone could give me an example of how to setup a bounding box for an object so that I can get the sliding data using dbGetObjectCollisionX, dbGetObjectCollisionY, and dbGetObjectCollisionZ.

I'm not sure exactly what to enter for the dbMakeObjectCollisionBox parameters.

Basically I just want to be able to create a tight fitting bounding box for basic sliding collision.

Any suggestions? Thanks!
Wilvis
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location:
Posted: 29th Dec 2009 04:39 Edited at: 29th Dec 2009 04:39
Hi,

I have played with the internal collision commands and would recommend using sparky's or another collision Lib.


http://forum.thegamecreators.com/?m=forum_view&t=74762&b=5
lesPaul456
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location:
Posted: 29th Dec 2009 18:22
Thanks for the reply.

I looked into sparky's collision, but I don't want to use spheres. Is there anyway I can use sparky's collision library to generate sliding data from a bounding box? Is there a way I can use an ellipsoid/capsule instead?

Thanks!
wtfmanwtfman
14
Years of Service
User Offline
Joined: 29th Dec 2009
Location:
Posted: 29th Dec 2009 18:40
ya i am having the exat same problem sry i couldendent offer any healp

Login to post a reply

Server time is: 2024-11-20 07:29:02
Your offset time is: 2024-11-20 07:29:02