Can not find NxOgre::VoidPointer

bluesleon

19-03-2011 03:35:34

Hi all
I am a newbie to using NxOgre.
There are some compile errors:
1 'VoidPointer' : is not a member of 'NxOgre'. This means that when I using "new NxOgre::VoidPointer", the compiler told me that the VoidPointer is not defined; I have include the "NxOgre.h" file.
2 'getNxScene' : is not a member of 'NxOgre::Scene', when I use:
"gNxController = CharacterController->createController(scene->getNxScene(),createControllerDesc(gParams));".
This means that the "getNxScene()" have removed from the newest version?

Where can I found the change lists?

BTW I use Ogre 1.7.1.
the version information of NxOgre are:
build: 1180
branch: detritus
major: 1
minor: 6

Thanks a a lots

betajaen

19-03-2011 08:16:27

Those classes and function names are very old. VoidPointer is now PhysXPointer, and getNxScene is getScene.

However; We have a Character Controller now, it's in the BuggySwires branch.

bluesleon

20-03-2011 03:08:28

Thanks for your answers.
I have resolve the problem.

But the new problem arise for the missing version.

Where should I refer to when I meet the similar questions?
Any suggestions?

Thanks!

betajaen

20-03-2011 08:09:52

I assume your trying to create a NxCharacterController? BuggySwires has a good Character Controller system now, if you want to try that.