Пример #1
0
 protected Vec3 GetFirePosition(WeaponType.WeaponMode typeMode)
 {
     return(Position + Rotation * typeMode.StartOffsetPosition);
 }
Пример #2
0
 protected Quat GetFireRotation(WeaponType.WeaponMode typeMode)
 {
     return((setForceFireRotation ? forceFireRotation : Rotation) * typeMode.StartOffsetRotation);
 }