Backov
01-06-2007 20:42:10
The bug:
When creating a body, in the constructor params.nodescale would be unset with random zero-ish float values, causing your node to scale to 0.
The fix (no diff, sorry)
In nxogreactor.h
There's probably some other way that's supposed to work, but that fixed it.
Now, the question:
NM, it was because it was two NxTriangleMeshes.. just have to get ConvexMesh to work for the racer.
When creating a body, in the constructor params.nodescale would be unset with random zero-ish float values, causing your node to scale to 0.
The fix (no diff, sorry)
In nxogreactor.h
ActorParams() { setToDefault(); }
ActorParams(const char* p) { setToDefault(); process(p);}
ActorParams(NxString p) { setToDefault(); process(p);}
There's probably some other way that's supposed to work, but that fixed it.
Now, the question:
NM, it was because it was two NxTriangleMeshes.. just have to get ConvexMesh to work for the racer.