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 Physics & Dark A.I. & Dark Dynamix / [Dark Physics] Sphere or box faster?

Author
Message
Fallout
22
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 6th Aug 2006 14:44
Just curious as to which of these shapes is faster for collision detection and processing. The help files say they're both very fast and efficient, but one must have the edge. This is specificially for my ragdolls - do I have a spherical head/hands or boxes etc?

Mike Johnson
TGC Developer
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 6th Aug 2006 15:12
Spheres will be faster than boxes.
Fallout
22
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 6th Aug 2006 15:32
Thanks Mike.

Fallout
22
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 6th Aug 2006 19:51
Also, is a capsule faster or slower than a box?

monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 7th Aug 2006 00:30 Edited at: 7th Aug 2006 00:30
I would imagine a capsule is slower than a box due to more vertices's, a sphere will be faster than both because spherical collisions are done by radii not vertices's

I know the voices aren't real, but they have good ideas!
Fallout
22
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 7th Aug 2006 00:52
Not really sure collision uses vertices. Capsules use a similar distance formula to spheres, but conducted over a line, rather than a single point. So I'm not sure which would be quicker out of a box or capsule.

monotonic
18
Years of Service
User Offline
Joined: 24th Mar 2006
Location: Nottinghamshire, England
Posted: 7th Aug 2006 00:55
Good point, didn't think of that

I know the voices aren't real, but they have good ideas!

Login to post a reply

Server time is: 2024-11-24 12:53:46
Your offset time is: 2024-11-24 12:53:46