In this tutorial I will explain how to prevent player peeking through walls adding push-back mechanism to instead move the player away from the wall.
Learn more from about Unity Game Dev in my video courses at:
https://courses.sunnyvalleystudio.com/
Scripts on Github:
https://github.com/SunnyValleyStudio/Unity-VR-Prevent-Head-Clipping-with-Player-Push-Back-and-Fade-effect
Join the discord:
https://discord.gg/RQEtYHz
You can support me through Patreon:
https://www.patreon.com/sunnyvalleystudio
00:00 Introduction
00:29 Detection Head collision
04:38 Testing Wall Collision Detection
05:38 Adding Push-back effect
08:42 Pushing Camera away from the wall
Download
0 formats
No download links available.
Unity VR Tutorial: Prevent Head Clipping by adding Push-Back effect | NatokHD