Crash using NxCharacterController::SetPosition

XpLoDWilD

21-01-2010 17:16:28

Hi everyone,

I'm getting a crash in PhysXCore.dll when using NxCharacterController... Well it used to work, but it doesn't anymore.


m_NxController->setPosition(NxExtendedVec3(pos.x, pos.y, pos.z));


If I comment this line, I don't get a crash (but my game won't work properly). I'm blocked, since I can't track down the issue... Also, the crash appears like 1 or 2 seconds after. It works, but as soon as a character moves, then it crashes.
Any idea?