Changeset 6872 for code/branches/fps/src/orxonox/worldentities/pawns
- Timestamp:
- May 10, 2010, 2:20:21 PM (15 years ago)
- Location:
- code/branches/fps/src/orxonox/worldentities/pawns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fps/src/orxonox/worldentities/pawns/FpsPlayer.cc
r6867 r6872 79 79 this->setConfigValues(); 80 80 this->registerVariables(); 81 81 82 } 82 83 … … 122 123 if (this->hasLocalController()) 123 124 { 124 125 this->setOrientation(savedOrientation_); 126 125 127 thistickboost=false; 126 128 … … 150 152 151 153 this->yaw_ = this->pitch_ = this->roll_ = 0; 154 155 //Quaternion q=this->getOrientation(); 156 //if( q.y<0.99 ) this->setOrientation(q.w, q.x, 1.0, q.z); 157 this->setAngularVelocity(0.0, 0.0, 0.0); 158 savedOrientation_=this->getOrientation(); 152 159 } 153 160 -
code/branches/fps/src/orxonox/worldentities/pawns/FpsPlayer.h
r6867 r6872 88 88 bool isfloor; 89 89 bool thistickboost; 90 Quaternion savedOrientation_; 90 91 }; 91 92 }
Note: See TracChangeset
for help on using the changeset viewer.