- Home /
Question by
zak666 · Nov 10, 2017 at 06:26 AM ·
charactercontrollerscriptingbasics
Unity C# 3D Stop character controller moving out of screen?
Hey gang Wondering how to make the character controller not move out of the screen and stop say 10Pixels before reaching the edge of the camera?
Comment
Answer by FallingRocketGames · Nov 10, 2017 at 06:46 AM
I believe the best way to go is to use "Clamp" See this tutorial around 37:00 https://youtu.be/N_U7GNchLZc Hope this helps!
Your answer
