Page 1 of 1

Make the Bounding BOX to a Bounding Sphere

Posted: Wed Jun 13, 2007 5:24 am
by Landix
HI ho,

Make the Bounding BOX to a Bounding Sphere.....

The Player model is in a bounding BOX, anybody have tried to make it a sphere!?

For our q3 geoball MOD it would be a milestone to have this.

I think it is some math to do this so!?
Anybody can us help out with that!?
plz...

BTW new BetaTelePortalVideo here:

http://www.q3geoball.quakeit.de/forum/v ... .php?t=101

cu
Landix

Posted: Tue Jun 26, 2007 2:41 am
by Dean McLean
I don't know much about 3d game programming, so this might not help at all, but...
couldn't you just check and see if the point you are checking's distance from the sphere center is less or more than the sphere's radius?

Posted: Tue Jun 26, 2007 5:34 am
by Landix
Thx for your answer, but it is not so easy.

I hope our coder can figure this out.

I hate when the ball rolls over some pipes with the BB BoX :(
looks terrible.