Requires Unity 4.6.1 or higher. Camera Collision Script - This script prevents your camera from going through walls and avoids obstacles that block view of your player. - If you have an object you do not wish for the camera to detect, you may give the object a Tag, or assign the object a Layer. Add the name of that tag or layer to the MaskedTags or MaskedLayers list in the inspector. The object 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. - If you have additional Camera Controls you wish to use, simply ensure there is a FocusPoint (or central point on your character) assigned to the Camera Collision Script, and that all camera positioning, such as zooming/scrolling, is done to the CamSpot variable of the script, and not the Camera itself. - Zooming/scrolling of the camera can be toggle on and off. 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 Standar 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!
插件名称:相机碰撞脚本Camera Collision Script | 大 小:39K | 价格:¥0 |
软件要求:Unity 4.6.1以上 | 运行环境: |
您还未登录
全部评论: 0条