Ignore:
Timestamp:
06/05/07 14:27:14 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/src/Common/include/FPSPlayer.h

    r2405 r2411  
    3030        bool frameStarted(const FrameEvent& evt); 
    3131        virtual void addWeaponModel(String meshname, String attachBoneName); 
    32         void doAction(); 
     32        void doAction(float dt); 
    3333 
    3434        static unsigned int frameListenerPriority; 
     
    8585        virtual void processMouseInputs(InputReader* inputDevice);       
    8686        void addWeaponModel(String meshname, String attachBoneName); 
    87         Vector3 getPosition(){return mPlayerCharacter->getGlobalPosition();} 
     87        Vector3 getPosition(){return mPlayerNode->getWorldPosition(); 
     88                return mPlayerCharacter->getGlobalPosition();} 
    8889//      Vector3 getOrienation(){return mPlayerCharacter->getGlobalOrientation();} 
    8990 
Note: See TracChangeset for help on using the changeset viewer.