Creating hinges with different pin directions

PJani

12-03-2009 16:31:19

Hy my hinge joint pin direction variates and now i need to know what are limits of vector values...becouse when i try to create hinge i get assertion error with angles and crash.

edit:added later

example of pin vector3 that crashes my game...
Vector3(0.80714, -0.001377, 0.590358)
with absolute version is the same
Vector3(0.80714, 0.001377, 0.590358)

error...
Assertion failed: (min.x <= max.x && min.y <= max.y && min.z <= max.z) && "The minimum corner of the box must be less than or equal to maximum corner", file ../include/OgreAxisAlignedBox.h, line 246

example of pin vectors that don't crash game...
Vector3(-0.686548, -0.725688, -0.045047) abs-> Vector3(0.686548, 0.725688, 0.045047)

Vector3(-0.685629, -0.726713, -0.0424401) abs-> Vector3(0.685629, 0.726713, 0.0424401)

Vector3(0.149395, -0.794828, -0.588157) abs-> Vector3(0.149395, 0.794828, 0.588157)