热搜: | 教程| 素材| 作品|
快捷导航 上传模型
开启左侧

[脚本] 灵活相机脚本 Flexible Camera 1.0 unity3d asset

[复制链接]
admin 发表于 2018-5-13 16:22:00 | 显示全部楼层 |阅读模式

  • 文件大小:308 KB 软件版本:Unity 2017.4.2 or higher
  • 软件语言:英文 人气指数:172
  • 应用平台:unity 3D
2
20
个金币

该资产由一个功能密集的脚本设计,提供一个自顶向下或侧滚动相机利用连续平滑运动。它最大化了玩家的视觉,并为作战场景和高速机动能力进行了优化。
QQ截图20180513162053.jpg 77b60604-16a8-4a6a-86d7-41ca1246f685_scaled.jpg e0277eaf-9946-4e6d-8c52-daf0419310fa_scaled.jpg

This asset consists of a feature dense script designed to provide a top-down or side-scroller camera utilizing continual smooth movement. It maximizes vision for the player and is optimized for combat scenarios and high-speed maneuverability.

It's both simple and quick to implement and still highly customizable. Optimized for mobile platforms as well - can use the same camera for building on both, PC and mobile.

Functions:
- MoveAhead: Moves the camera in the direction the Player is moving based on its speed.
- ZoomOut: Zooms the camera out based on Player speed.
- LockOn: Assign a LockOn target so that the camera keeps both, it and the Player in sight. Has following types: Temporary, returning and permanent.
- Shake: Shakes the camera. Allows custom duration, intensity and uses intelligent algorithms to add additional shake effects.
- CursorFollow: Moves the camera based on the screen space position of the cursor from the Player.
- Restrictor: Allows colliders and coordinate min/max to limit camera position.
- Optional aspect ratio correction for mobile platforms.

Features:
- Simple and quick to set up. Use prefabs, or simply add the main script to the camera.
- Smooth at all times, even when disabling and enabling functions, changing parameters and toggling activation at runtime.
- A large amount of exposed parameters for detailed setting options.
- Allows setting a base camera rotation into any direction. That can include a tilt.
- Modular functions. Each can be toggled on and off. Code is written to be customizable (c#). Parameters are set up to interact with external scripts. You can change single functions without affecting others.
- Full documentation of all functions, parameters and methods, and a coherent ReadMe file. Contains sufficient demos.
- Mobile friendly, as almost all functions do not require a cursor. Has near zero performance drain.
- Compatible with other types of camera assets, as it only moves the camera position via the LateUpdate method. And when disabled, it has no effect at all. Reactivation is still smooth.

ariones3 发表于 2018-7-22 13:46:54 | 显示全部楼层
jkhjjhlhklhklhlkjkl
回复

使用道具 举报

精彩推荐
快速回复 返回列表 客服中心 搜索 官方QQ群
Copyright   ©2015-2016  酷爱设计素材网  Powered by©酷爱资源  技术支持:秀堂短链    ( 京ICP备17042134号-1 )|网站地图