Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3062


Ignore:
Timestamp:
May 25, 2009, 5:13:41 PM (16 years ago)
Author:
scheusso
Message:

pongbat fix for client (no more hanging at the edge anymore)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp3/src/orxonox/objects/worldentities/PongBat.cc

    r3048 r3062  
    9191            position.z = -this->fieldHeight_ / 2 + this->fieldHeight_ * this->length_ / 2;
    9292        if (position != this->getPosition())
     93        {
    9394            this->setPosition(position);
     95            this->setVelocity( Vector3::ZERO );
     96        }
    9497    }
    9598
     
    97100    {
    98101        this->bMoveLocal_ = false;
    99         this->movement_ -= value.x;
     102        this->movement_ = -value.x;
    100103    }
    101104
Note: See TracChangeset for help on using the changeset viewer.