Riyunoa
31-01-2007 15:37:17
All I did was, when two dynamic bodies collide...
It dies at this point:

Is there something I'm doing wrong?
And regarding wind - I've tried setWind(100,0,100), and setWind(1,0,1) but neither has any visible effect even though I've addState( nxOgre::STATE_EFFECTEDBY_WIND )'d the dynamic bodies. What else do I need to activate wind?
if ( mScene->findBody( mBody->getName() ) )
{
mScene->destroyBody( mBody->getName() );
}
It dies at this point:
Is there something I'm doing wrong?
And regarding wind - I've tried setWind(100,0,100), and setWind(1,0,1) but neither has any visible effect even though I've addState( nxOgre::STATE_EFFECTEDBY_WIND )'d the dynamic bodies. What else do I need to activate wind?