Changeset 8939 in orxonox.OLD for branches/single_player_map/src/world_entities/creatures
- Timestamp:
- Jun 30, 2006, 2:35:50 AM (19 years ago)
- Location:
- branches/single_player_map/src/world_entities/creatures
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/creatures/fps_player.cc
r8900 r8939 90 90 this->setHealth(80); 91 91 92 this->fallVelocity = 0.0f; 92 93 93 94 this->cameraNode.setParent(this); … … 251 252 } 252 253 254 // physical falling of the player 255 256 257 // this->fallVelocity += 10.0f * time + this->fallVelocity; 258 259 253 260 velocity *= 100; 254 261 255 262 this->shiftCoor( velocity*time ); 263 264 265 256 266 257 267 -
branches/single_player_map/src/world_entities/creatures/fps_player.h
r8731 r8939 51 51 52 52 PNode cameraNode; 53 54 float fallVelocity; //!< velocity for falling down 53 55 }; 54 56
Note: See TracChangeset
for help on using the changeset viewer.