Changeset 2411 for GTP/trunk/App/Demos/Illum/Ogre/src/Common/include
- Timestamp:
- 06/05/07 14:27:14 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/src/Common/include/FPSPlayer.h
r2405 r2411 30 30 bool frameStarted(const FrameEvent& evt); 31 31 virtual void addWeaponModel(String meshname, String attachBoneName); 32 void doAction( );32 void doAction(float dt); 33 33 34 34 static unsigned int frameListenerPriority; … … 85 85 virtual void processMouseInputs(InputReader* inputDevice); 86 86 void addWeaponModel(String meshname, String attachBoneName); 87 Vector3 getPosition(){return mPlayerCharacter->getGlobalPosition();} 87 Vector3 getPosition(){return mPlayerNode->getWorldPosition(); 88 return mPlayerCharacter->getGlobalPosition();} 88 89 // Vector3 getOrienation(){return mPlayerCharacter->getGlobalOrientation();} 89 90
Note: See TracChangeset
for help on using the changeset viewer.