- Timestamp:
- May 25, 2009, 5:13:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp3/src/orxonox/objects/worldentities/PongBat.cc
r3048 r3062 91 91 position.z = -this->fieldHeight_ / 2 + this->fieldHeight_ * this->length_ / 2; 92 92 if (position != this->getPosition()) 93 { 93 94 this->setPosition(position); 95 this->setVelocity( Vector3::ZERO ); 96 } 94 97 } 95 98 … … 97 100 { 98 101 this->bMoveLocal_ = false; 99 this->movement_ -=value.x;102 this->movement_ = -value.x; 100 103 } 101 104
Note: See TracChangeset
for help on using the changeset viewer.