Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/5
✔ Supports All Render Pipelines 2018.4.15+
Camera Collision Script
♦ This script prevents your camera from going through walls and avoids obstacles that block view of your player.
♦ MaskedTags and MaskedLayers parameters are available to include and exclude objects based on tag and layer.
♦ Simply drag and drop the FocusPoint prefab from the Prefabs folder onto your player, and center it above your player's head for instant use. The camera may be placed anywhere, including to the sides of your character for a more convenient view.
♦ If you are using a third party camera controller, simply attach the CameraCollision script to your camera and assign any necessary parameters in the inspector. See video demonstration of use with Game Creator Camera Motor.
Additional Notes:
♦ In the demo, we used a simple capsule character setup for player movement (movement script included), as well as the MouseLook script from the Standard Assets on both the player and the focus point for turning and angling the camera and player.
We do our best to make our assets as user-friendly as possible! Please, by all means, to not hesitate to send us an email, or leave a review, if you have any questions or comments!
Enjoy gaming! =)
Website
lylekgames.com
Support
lylekgames.com/contacts
Camera Collision Script
♦ This script prevents your camera from going through walls and avoids obstacles that block view of your player.
♦ MaskedTags and MaskedLayers parameters are available to include and exclude objects based on tag and layer.
♦ Simply drag and drop the FocusPoint prefab from the Prefabs folder onto your player, and center it above your player's head for instant use. The camera may be placed anywhere, including to the sides of your character for a more convenient view.
♦ If you are using a third party camera controller, simply attach the CameraCollision script to your camera and assign any necessary parameters in the inspector. See video demonstration of use with Game Creator Camera Motor.
Additional Notes:
♦ In the demo, we used a simple capsule character setup for player movement (movement script included), as well as the MouseLook script from the Standard Assets on both the player and the focus point for turning and angling the camera and player.
We do our best to make our assets as user-friendly as possible! Please, by all means, to not hesitate to send us an email, or leave a review, if you have any questions or comments!
Enjoy gaming! =)
Website
lylekgames.com
Support
lylekgames.com/contacts
Camera Collision Script
(56)
389 users have favourite this asset
(389)
$10
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
Secure checkout:

Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Language
Feedback
Partners Program
PartnersUSD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR