Home Artists Posts Import Register
Join the new SimpleX Chat Group!

Content


Files

Advanced Third Person Controller Part 8 Camera Collisions - Unity Tutorial

Want more? https://www.patreon.com/csharpaccent? Get this project https://gumroad.com/l/WnFGJ Asset Store Page https://goo.gl/wpHEHO Carnivore Land on Steam! http://goo.gl/qlTOuU Subreddit http://goo.gl/YSLmVT Twitter https://twitter.com/AccentTutorials https://twitter.com/NVicBoss

Comments

Anonymous

Great camera collisions. But I see some problems with it. It isn't better to just cast rays around the NearClippingPlane to check for obstructions? Because it consumes less raycasts.

csharpaccent

That won't stop the camera going in front of an obstacle though, so you could still lose sight of the character. The test with the profiler didnt' show anything to worry, so performance is not an issue for at least a lot of platforms. Of course I made the system so it's easy to edit, so you can just modify it to suit your needs. Think of everything that I'm doing (in all videos) that I'm trying to capture as many user cases as possible so you absolutely have to modify anything I do ;)