Question re AABB dimensions

AlexSilverman
Posts: 141
Joined: Mon Jul 02, 2007 5:12 pm

Question re AABB dimensions

Post by AlexSilverman »

Hello all,

I'm making a sphere of radius 0.12625, and placing it at the origin with no rotation. Immediately after creation I get the AABB, and it has a width of 0.3325, implying a shpere of radius 0.166250. Is this expected?

Thanks.

- Alex
Proctoid
Posts: 18
Joined: Fri Apr 21, 2006 3:04 pm
Location: uk

Post by Proctoid »

seem ok - looks like that is the 0.04 collision margin being added
AlexSilverman
Posts: 141
Joined: Mon Jul 02, 2007 5:12 pm

Post by AlexSilverman »

Ah. I completely forgot about the collision margin. I guess 0.4 is a default value then, becase I'm not specifying anything. Thanks for clearing the air of my bone-headery :)

- Alex