Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2009, 5:54:42 PM (15 years ago)
Author:
Aurelian
Message:

Final commit of gametype asteroids for presentation. everything working. New gadget: Radar displays the next checkpoint to reach!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/worldentities/MovableEntity.cc

    r3033 r3064  
    8080            if (victim)
    8181            {
    82                 victim->damage(this->collisionDamage_ * victim->getVelocity().dotProduct(this->getVelocity()));
     82                victim->damage(this->collisionDamage_ * (victim->getVelocity() - this->getVelocity()).length());
    8383            }
    8484        }
Note: See TracChangeset for help on using the changeset viewer.