unity相机碰撞脚本Camera Collision sc ript 1.11
Requires Unity 4.6.1 or higher.
Camera Collision sc ript
- This sc ript prevents your camera from going through walls and avoids obstacles that block view of your player.
- If you have an ob ject you do not wish for the camera to detect, you may give the ob ject a Tag, or assign the ob ject a Layer. Add the name of that tag or layer to the MaskedTags or MaskedLayers list in the inspector. The ob ject will be ignored.
- 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.
需要5金币 或 50 积分 ( 如何获取金币与积分)
免责声明:
【1】资源来自网络,仅限于个人学习研究,请勿用于任何商业用途,请支持或购买正版,尊重版权,请严格遵守国家相关著作版权保护的法律和规则,素材下载所需金币仅为素材收集整理的辛苦费用,并不代表素材本身价值,版权归原作者或其公司所有,请下载24小时内务必删除,否则后果自负,本站不承担任何责任及连带责任!