This is a common phenomenon in many indie games, and it's something I struggled with as well. Not because it's a difficult solution, but because I insisted it was a dumb solution. I exhausted all other options such as panini projection, rendering a real-time image of the weapon via postprocess - I tried to find ways to prioritize rendering of the view model over the world and they all resulted in strange anomalies. Unless you're going to spend an excessive amount of time to alter engine code, nothing works as well as simply doing this, I promise.
You may have to change the project's near clipping plane in General Settings. I set mine to 0.15 with no issues.
Music:
• Video
Смотрите видео UE4 Quick Tip - First-Person Weapons Clipping through World онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Peanut Games 04 Октябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,323 раз и оно понравилось 45 людям.