s0lidnuts
12-07-2007 04:10:18
error -> return mActor->isDynamic();
from nxogreactor.cppthe character is being set up this way
NxOgre::Character *nxCharacter = mNxScene->createCharacter("Player", _sceneMgr->getSceneNode("Box")->getPosition() + Ogre::Vector3(0, 40, 0), "type: box, dimensions: 1 1 1");
It seems that when the characters collides with something, the error happens.
Call stack
> NxOgre_d.dll!NxOgre::Actor::isDynamic() Line 383 + 0xc bytes C++
NxOgre_d.dll!NxOgre::BaseCharacterHitReport::onActor(NxOgre::Character * __formal=0x010eccc0, NxOgre::Actor * a=0x010eecf0, NxOgre::Character * __formal=0x010eccc0, NxOgre::Character * __formal=0x010eccc0, const NxControllerShapeHit & h={...}) Line 33 + 0x8 bytes C++
NxOgre_d.dll!NxOgre::CharacterController::onShapeHit(const NxControllerShapeHit & hit={...}) Line 170 + 0x28 bytes C++
and mActor is null aparently