Modified physics for more vanilla-like behavior
This commit is contained in:
@@ -227,6 +227,8 @@ cProjectileEntity::cProjectileEntity(eKind a_Kind, cEntity * a_Creator, double a
|
||||
),
|
||||
m_IsInGround(false)
|
||||
{
|
||||
SetGravity(-12.0f);
|
||||
SetAirDrag(0.2f);
|
||||
}
|
||||
|
||||
|
||||
@@ -242,6 +244,8 @@ cProjectileEntity::cProjectileEntity(eKind a_Kind, cEntity * a_Creator, const Ve
|
||||
SetSpeed(a_Speed);
|
||||
SetYawFromSpeed();
|
||||
SetPitchFromSpeed();
|
||||
SetGravity(-12.0f);
|
||||
SetAirDrag(0.2f);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user