CG数据库 >> 相机碰撞脚本相机脚本Unity游戏素材资源

本游戏资料是个关于相机碰撞脚本相机脚本Unity游戏素材资源,大小:26.5 MB ,格式:unitypackage,使用软件:Unity,供广大设计师学习使用,语言:英语。

Unity3D是一个让你轻松创作的多平台的游戏开发工具,是一个全面整合的专业游戏引擎。Unity代表了一个质的飞跃——内置的光照贴图(lightmapping)、遮挡剔除(occlusion culling)和调试器。编辑器经过彻底革新,让你可以获得卓越的性能体验。不可思议、无法阻挡的产品已经看到了曙光。

Unity是一款跨平台的游戏开发工具,从一开始就被设计成易于使用的产品。作为一个完全集成的专业级应用,Unity还包含了价值数百万美元的功能强大的游戏引擎。Unity 4作为一个游戏开发工具,它的设计主旨就是让你能够创建令人惊讶的游戏。如果你之前尝试过Unity,请查看Unity 3都做了哪些更新。如果你是第一次尝试,那就好好看看吧,看Unity都能为你带来什么。Unity作为一种开发环境,可让你脱离传统的游戏开发方式,以一种更简单的方式专注于你的游戏开发。开发网络游戏、移动游戏、单机游戏,Unity都能完全胜任。

Camera Collision Script Scripting Camera

Lylek Games

Requires Unity 4.6.1 or higher.

VIEW WEBPLAYER DEMO.

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.

- 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.

- Also note, that the Camera Collision Script is included as a free-be in many of our other packages (though perhaps not always up-to-date). <3

Website

lylekgames.com

Have any questions?

lylekgames.com/contacts

相机碰撞脚本相机脚本Unity游戏素材资源的图片1

发布日期: 2017-1-20