Jump to content
Posted 07 July 2013 - 03:46 AM
Posted 07 July 2013 - 09:04 AM
if the 3 edges you speak of end up coplanar, You could potentially lose the volume that you are guaranteed by having an obb using an orthonormal basis.
Posted 07 July 2013 - 12:06 PM
As long as the basis vectors are linearly independent (
so cross product of any 2 pairs is not the zero vector, or the determinant of the matrix formed by the 3 basis vectors is non-zero) you would be ok.
EDIT: Not sure if cross product pairs is a good enough test for coplanarity (i.e. I think I'm wrong), I'm on the beer again. The determinant test should be fine though.
Edited by Paradigm Shifter, 07 July 2013 - 12:10 PM.
Posted 08 July 2013 - 12:11 AM
What gets me is that the feature is equivalent to attaching a object transform to all rigid bodies instanced. I'd therefore consider it redundant and not much of a wise choice in general considering you might be willing to write a custom collision solver for each different shape pair.
When defining an Oriented Bounding Box by the 3 ortho-normal sides of the box, I wondered what would the consequences be of letting those three edges be at any arbitrary angle?