脚本/功能 【更新】MMO Camera 1.0.1摄像机功能

插件名称:MMO Camera插件官网:访问官网
版本:1.0.1解压密码:通用密码














The MMO Camera is designed to give the same camera feel you find in the world's most popular MMOs. It's easy to implement, packed with features, and abstracted from character controllers and input systems, so you have complete control of those systems without having to refactor the camera.

Traditional Mouselook
Right-button mouselook and left-button orbit with an option to pivot the target when the camera is at a 90-degree offset.

Smooth Zoom
The camera zooms smoothly in and out, completely configurable and framerate independent.

Ground-look and Wall-look
Lets the player look up at the ceiling or the sky when hitting the ground and enters into groundlook against walls when level with the target.

Ground-zoom and Ground-fall
While in ground-look the camera rolls in along the terrain when zooming and if you back off a platform or cliff it sinks down but won’t get stuck or blocked by the edge.

Object Occlusion
The camera moves around occluding objects with a smooth zoom recovery when no longer blocked. Based on tags and layers so you have total control of what occludes and what doesn't.

Occlusion Fade
Lets you set objects to fade in and out when they block the camera instead of occluding. Based on Tags and Layers, just like occlusion, so you have control of what objects fade.

First-person Fade
When transitioning into and out of first-person, your target can fade with a render queue swapping feature, so it works with overlapping transparent shaders.

Framerate Independent
You can bang the camera against the ground as hard as you want and it will enter groundlook at the right spot every time.

Decoupled
The MMO Camera is abstracted from input and character controller systems. Use your own character controller or another one from the Unity Asset Store, and just implement a simple interface to integrate the MMO Camera. An example input controller and a basic character controller are included to get you started.

Super Easy to Implement
Just add the MMO Camera component to a camera, drag the target transform into the Target property, and it just works.


MMO相机的设计是为了给你在世界最流行的MMO中找到相同的相机感觉。它很容易实现,有很多功能,并从角色控制器和输入系统中抽象出来,所以你可以完全控制这些系统,而不必重构相机。

MMO相机功能。
传统的鼠目寸光
右键鼠视和左键轨道,当摄像机处于90度偏移时,可以选择旋转目标。

平滑变焦
摄像机可以平滑地放大和缩小,完全可配置,并且不受帧速率的影响。

地面观察和墙壁观察
让玩家在撞击地面时抬头看天花板或天空,在与目标持平时进入对墙看地。

地面变焦和地面坠落
当进入地面观察时,摄像机在放大时沿着地形滚动,如果你从平台或悬崖上退下来,它就会下沉,但不会被边缘卡住或挡住。

物体遮挡
摄像机在遮挡物体周围移动,当不再被遮挡时,会平滑地放大恢复。基于标签和图层,所以你可以完全控制哪些物体被遮挡,哪些不被遮挡。

遮挡淡出
让你设置物体在遮挡摄像机时淡入淡出,而不是遮挡。基于标签和图层,就像闭塞一样,所以你可以控制哪些物体淡出。

第一人称淡出
当过渡到第一人称时,你的目标可以通过渲染队列交换功能进行淡出,所以它可以与重叠的透明着色器一起使用。

独立于帧速率
你可以随心所欲地将摄像机撞向地面,它每次都会在正确的位置进入地面观察。

解耦
MMO摄像机与输入和角色控制器系统是抽象的。使用你自己的角色控制器或Unity资产商店中的另一个,只需实现一个简单的接口来集成MMO相机。我们提供了一个输入控制器和一个基本的角色控制器的例子,让你开始使用。

超级容易实现
只需将MMO相机组件添加到相机中,将目标变换拖到目标属性中,它就能正常工作。








作者 cg小白兔 发表于 2022-10-13 13:41:49
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布4026

热门作品推荐
glow
Operating System Simulator Plugin 3.0.1
glow
【更新】Fantastic City Generator 3.1.2
glow
【更新】Terrain To Mesh 2024.1地形转换为
glow
EPIC Fantasy Village - Low Poly 3D Art 1
glow
EPIC Fantasy Town - Low Poly 3D Art 1.0
glow
【更新】Drawing & Coloring (Extra Editio
glow
Archero Unity Source code 1.0 2019.2.17f
glow
【更新】Sky Master ULTIMATE Volumetric S
glow
【更新】Stick Guys Defense 2020.3.25f1战
glow
【更新】FSR 3 - Upscaling for Unity 1.5.