查看: 2666|回复: 26
收起左侧

[脚本与插件] Camera Collision Script

  [复制链接]

[脚本与插件] Camera Collision Script  [复制链接]

Thekingofpay 发表于 2017-10-9 13:37:05 [显示全部楼层] 回帖奖励 |倒序浏览 |阅读模式 回复:  26 浏览:  2666
资源帖
资源名称: Camera Collision Script
资源版本: 1.3.2
资源类型: .unitypackage
资源大小: 26.44MB
更新时间: 2017-10-09
支持正版: ↓↓↓↓↓↓插件仅用于学习,禁止商用,为了维护您的个人权益,请支持正版↓↓↓↓↓↓
官网地址: -
资源图片:
要求Unity 4.6.1 或更高版本。
View WebGL Preview!.

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!
游客,如果您要查看本帖隐藏内容请回复


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
+1
2684°C
26
  • 星核
  • 十方开心
  • 落榜散人
  • 梁旭东
  • KrazyL
过: 他们
因分享而快乐,学习以自强!
星核 发表于 2017-10-9 20:09:33 显示全部楼层
谢谢楼主分享。。。
因分享而快乐,学习以自强!
十方开心 发表于 2017-10-10 08:51:02 显示全部楼层
因分享而快乐,学习以自强!
因分享而快乐,学习以自强!
落榜散人 发表于 2017-10-10 08:53:13 显示全部楼层
感谢楼主分享
因分享而快乐,学习以自强!
梁旭东 发表于 2017-10-10 09:34:49 显示全部楼层
谢谢分享
因分享而快乐,学习以自强!
KrazyL 发表于 2017-10-10 10:51:57 显示全部楼层
因分享而快乐,学习以自强!
因分享而快乐,学习以自强!
misalkira 发表于 2017-10-10 17:05:59 显示全部楼层
:33333333333333333333
因分享而快乐,学习以自强!
swordlegend 发表于 2017-10-10 23:59:27 显示全部楼层
好东西,谢谢楼主分享
因分享而快乐,学习以自强!
wrongusername 发表于 2017-10-11 00:14:22 显示全部楼层
我建立了自己的,但会试试这个,谢谢。
因分享而快乐,学习以自强!
lshain 发表于 2017-10-11 10:02:28 显示全部楼层
666666666666666666666666666666666666666666666666
因分享而快乐,学习以自强!
JudgementAngel 发表于 2017-10-11 11:28:46 显示全部楼层
感谢分享
因分享而快乐,学习以自强!
iconsunny 发表于 2017-10-13 14:26:09 显示全部楼层
SO GOOD
因分享而快乐,学习以自强!
iconsunny 发表于 2017-10-13 14:28:49 显示全部楼层
谢谢楼主分享。。。
因分享而快乐,学习以自强!
1097304582 发表于 2017-10-13 19:23:20 显示全部楼层
~~~~~~~~~~~~~~~~~
因分享而快乐,学习以自强!
1097304582 发表于 2017-10-13 19:25:38 显示全部楼层
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
因分享而快乐,学习以自强!
12下一页
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

VR/AR版块|Unity3d|Unreal4|新手报道|小黑屋|站点地图|沪ICP备14023207号-9|【泰斗社区】-专注互联网游戏和应用的开发者平台 ( 沪ICP备14023207号-9 )|网站地图

© 2001-2013 Comsenz Inc.  Powered by Discuz! X3.4

1
QQ