Exemple #1
0
        protected Vec3 GetFirePosition(WeaponType.WeaponMode typeMode)
        {
            Quat rot = setForceFireRotation ? forceFireRotation : Rotation;

            return(Position + rot * typeMode.StartOffsetPosition);
        }
Exemple #2
0
        protected Quat GetFireRotation(WeaponType.WeaponMode typeMode)
        {
            Quat rot = setForceFireRotation ? forceFireRotation : Rotation;

            return(rot * typeMode.StartOffsetRotation);
        }