Changeset 919 for code/branches/network/src/orxonox/objects/NPC.cc
- Timestamp:
- Mar 24, 2008, 1:12:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/orxonox/objects/NPC.cc
r790 r919 85 85 void NPC::tick(float dt) 86 86 { 87 87 update(); 88 88 this->setVelocity(0.995*this->getVelocity() + this->getAcceleration()*dt); 89 89 this->translate(this->getVelocity()*dt);
Note: See TracChangeset
for help on using the changeset viewer.