mamairaja
08-01-2011 06:21:43
Probably I am wrong in the code. So need a help
Here I want to implement character controller. I have this code.
above code compile fine
When I add following
gCharacter->advance or gCharacter->move
compiler gives the following error
As far as I see these are public members in class NxOgrePublicClass CharacterController.
I need a help to come back to right track.
Here I want to implement character controller. I have this code.
Critter::BackgroundCharacterDescription desc;
desc.mShape = NxOgre::SimpleCapsule(playerHight, radious);
Critter::BackgroundCharacter* gCharacter = renderSystem->createBackgroundCharacter(NxOgre::Vec3(0,50,0), Ogre::Radian(0), playerRenderNode, desc);
above code compile fine
When I add following
gCharacter->advance or gCharacter->move
compiler gives the following error
Error 13 error C2247: 'NxOgre::CharacterController::move' not accessible because 'Critter::CharacterBase' uses 'protected' to inherit from 'NxOgre::CharacterController' i:\Thegameproject\src\playercharacter.cpp 94
As far as I see these are public members in class NxOgrePublicClass CharacterController.
I need a help to come back to right track.