编辑器/功能拓展 MMO Camera 1.0.1

1.jpg 5dd11939-61d5-4575-8eb0-9a9d0d37.jpg 290d18cc-5589-4201-b32d-6fee707b.jpg 378bc6cc-f8b9-4b51-981a-6e4e580c.jpg b4f43896-2ca3-4f83-92d5-4fd6c8df.jpg 685d88ce-e374-48ae-ace4-a755bb53.jpg ad149c90-4d1c-4f8c-9499-8feb1101.jpg
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.

MMO Camera Features:
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相机功能:
传统Mouselook
右键鼠标观察和左键动态观察,当相机处于90度偏移时,可以选择旋转目标。

平滑缩放
相机可以平滑地放大和缩小,完全可配置且与帧速率无关。

地面外观和墙壁外观
让玩家在落地时抬头看天花板或天空,并在与目标齐平时进入靠墙的地面观察。

地面缩放和地面坠落
在地面观察时,变焦时相机会沿着地形滚动,如果你从平台或悬崖上后退,它会下沉,但不会被边缘卡住或挡住。

对象遮挡
当不再被遮挡时,相机会通过平滑的缩放恢复在遮挡对象周围移动。基于标记和图层,您可以完全控制哪些遮挡,哪些不遮挡。

遮挡淡入
用于将对象设置为在遮挡摄影机而不是遮挡时淡入淡出。基于“标记”和“层”,就像遮挡一样,因此可以控制对象的淡入度。

第一人称渐变
当过渡到第一人称和从第一人称过渡到第二人称时,目标可以使用渲染队列交换功能进行淡入淡出,因此可以使用重叠的透明着色器。

与帧速率无关
你可以随心所欲地把相机重重地拍在地面上,它每次都会在正确的位置进入地面。

已解除耦合
MMO摄像机是从输入和角色控制器系统中抽象出来的。使用您自己的角色控制器或Unity Asset Store中的另一个角色控制器,只需实现一个简单的界面即可集成MMO相机。其中包括一个示例输入控制器和一个基本字符控制器,让您开始使用。

超级易于实现
只需将MMO摄影机组件添加到摄影机中,将目标变换拖动到“目标”属性中,即可正常工作。

2024-4-2 15:06 上传
文件大小:
未知
下载次数:
0
附件售价:
28 钥匙  购买记录
本地下载 立即购买






使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册