Make the Bounding BOX to a Bounding Sphere

Locked
Landix
Posts: 123
Joined: Wed Feb 28, 2007 5:57 pm

Make the Bounding BOX to a Bounding Sphere

Post 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
Dean McLean
Posts: 20
Joined: Fri May 04, 2007 9:45 pm

Post 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?
"Don't say, impossible! Try saying, I'm possible!"
Landix
Posts: 123
Joined: Wed Feb 28, 2007 5:57 pm

Post 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.
Locked