[0.9] error in NxOgre::Motor!!!!

Felipe

21-08-2007 02:00:52

my app crash with this code:
why?

NxOgre::Motor *mMotor = new Motor("Motor", mScene, &mWheelSet.Drive);
mWheelSet.attachDriveShaft(mMotor);

NxOgre::PhysXDriver::PhysXDriver#141T0 F0
NxOgre (NxOgre 0.9-33.Debug) Started, working with:

- PhysX => 2.7.2
- Ogre => 1.4.3 'Eihort'
- Platform => Windows Debug

Felipe

21-08-2007 02:20:11

thanks,
now it work well.

dee-roc

28-10-2007 17:42:54

What did you do to correct this? I'm having the same issue. It's crashing when trying to create the Motor class.

kidcdf

24-01-2008 15:05:53

the same thing happened to me!
betajaen,help!

ljack

29-02-2008 11:15:23

i have the same problem... could you tell how to solve it, please ?

kidcdf

01-03-2008 01:06:35

I solved it ,it is the memory error in the your code not in NxOgre,check it whether you delete it before using the motor or you malloc it in a function and in the end of function it is invalid automaticlly,using Debug tools to watch your variable