2019-06-30 06:59:55 -04:00
|
|
|
#include "common.h"
|
2020-04-17 09:31:11 -04:00
|
|
|
|
2019-06-30 06:59:55 -04:00
|
|
|
#include "Projectile.h"
|
|
|
|
|
2020-01-07 10:26:23 -05:00
|
|
|
CProjectile::CProjectile(int32 model) : CObject()
|
|
|
|
{
|
|
|
|
m_fMass = 1.0f;
|
|
|
|
m_fTurnMass = 1.0f;
|
2020-01-31 17:41:03 -05:00
|
|
|
m_fAirResistance = 0.99999f;
|
2020-01-07 10:26:23 -05:00
|
|
|
m_fElasticity = 0.75f;
|
|
|
|
m_fBuoyancy = GRAVITY * m_fMass * 0.1f;
|
|
|
|
bExplosionProof = true;
|
|
|
|
SetModelIndex(model);
|
|
|
|
ObjectCreatedBy = MISSION_OBJECT;
|
|
|
|
}
|