Bodies offset o_O

s0lidnuts

11-07-2007 18:25:52

I gave up on trying to get an entity size from Ogre.. I'm exporting the size to
the XML and it's working; but that's not my problem here, look the image:

If I want the box to fall right on that entrance on the ground, I have to position it a little to the left on Max o_O
Could that be just a float-precision fault ? The scene units are really small (the box is just 4 units on Max)
Hopefully it's not a code problem, neither a bug =) What do you think ?

betajaen

11-07-2007 18:30:51

Interesting. Is the mesh pivot perfectly centered to the cube?

s0lidnuts

11-07-2007 18:34:57

If you are talking about the gizmo on Max while I positionate the mesh (probably not, it wouldn't take any effect I guess) I'll don't know and I'll check
If you are not, the I don't know either xD

And.. I'm getting the physicBody position through oFusion setup nodes..
Hey, thanks ^^ you are always on the forum ^^

EDIT: WOOT! I've changed the Max gizmo (pivot) to the center of the box, and positionated it right, and it works @_@, well, another solved topic ^^
Thanks betajaen ^^