pioneerspacesim/pioneer — Issue #732: DynamicBody::OnCollision uses wrong mass to calculate damge
Author: Ziusudra
Created: 2011-10-26 23:23:21+00:00
State: open

`DynamicBody::OnCollision` calculates the damage based on its own mass rather than the other's mass, a missile can easily destroy a ship by colliding with it.

I'm guessing that the `if (o->IsType(Object::DYNAMICBODY))` in `DynamicBody::OnCollision` is meant to use the other's mass. Because right now the if and the else both do the same thing.