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

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

            return(rot * typeMode.StartOffsetRotation);
        }