Comment 4 for bug 585898

Revision history for this message
Václav Šmilauer (eudoxos) wrote : Re: bzr2255 crash on examples/rotatingCylinder.py

Although I can't check for time reasons now, I strongly suspect this line (pkg/common/Engine/PartialEngine/RotationEngine.cpp:62):

state->vel=state->angVel.cross(l);

As you recall, Eigen doesn't handle cross product with zero vectro specially; if angVel is zero (at the beginning), state->vel will be NaN.