getOgreNode() ...help!

™Cadue™

11-01-2007 16:43:00

Hi! in callback function I use body_0->getOgreNode() for get the OgreNode.
During debuggin, sometime I have run-time errors from this function...but i'm shure that there is a OgreNode attached!
Can you help me?

Maklaud

12-01-2007 15:37:27

Hmmm. Show your code, how you do it? Maybe... Try this:

SceneNode * s;
s = body_0->getOgreNode();
// using s
[*code]