本帖最后由 微笑的猫 于 2024-1-25 13:26 编辑
Physics Based Character Controller 系列索引
Physics Based Character Controller 3.1.0 下载链接
Physics Based Character Controller 4.1.0 下载链接
Physics Character Controller 4.2.0 下载链接
What is it?
Physics Based Character Controller is a powerful yet simple character controller based on the unity physics system. The player can easily interact with the physical environment, move and push objects, slide on surfaces, climb, wall jump and so on...
How do I use it?
Simple: install the package, assign a ground layer to your floor and reference it in the CharacterController (and AnimatedController if you are using one) and you are ready to go! The package accommodates the user who wants a simple plug and play solution and also developers who want to add their own modifications on top of the existing code.
What's included?
The package contains:
Player model and multiple obstacle meshes
Humanoid animated model
Prefab folder with all the "core" components
2 sample scenes that guides the user and allows them to experiment with the character controller and find the best parameters combination for their needs.
The package main features are:
Basic character movement in third and first person
Player can move the character and rotate the camera
Player can perform jump, long jumps, wall climb, wall slide, crouch, climb and sprint
Camera solution to avoid clipping with the objects in the scene
Capsule based collision and simple interpolated movements
Allows the player to walk on rubble and irregular terrain
Allows the player to walk on smooth terrain with changing normals
Allows the player to move up a slope within a certain angle limit
Ground snapping so the player can stick to surfaces and slopes
Allows the player to move on steps (within a certain height set by the player)
Supports rigidbody interaction and allows the player to move and collide with rigidbodies
Supports and ignores specific layers
Contains prefab that simulate viscosity
Contrains speedup and slowdown platforms
Contains bounce platforms
Contains moving platforms
Contains rotating platforms that keep the player rotation locked
Allows the player to climb ladders
» FAQ:
Can the player collide with simple rigidbodies? Yes, differently from other character controllers, the player is simply a vanilla rigidbody so it can handle interaction with every physic object without having to attach scripts and complicate your project.
Do I need to be a coder? No, the asset allows you to simply edit the controller to your need (check the documentation below to know the details). If you want to add new features a intermediate level of programming is required and of course I'm always available to assist you via email.
How is the camera handled? With cinemachine, the project is setup so that there are 4 different cameras for mouse, controller, first person and third person. Regardless you can easily create your own solution.
Can I use a humanoid character? Of course, you can use the controller to set animation parameters (isGrounded, isSliding,IsTouchingWall...etc)
它是什么?
基于物理的角色控制器(Physics Based Character Controller)是一款基于 unity 物理系统的强大而简单的角色控制器。玩家可以轻松地与物理环境互动,移动和推动物体、在表面上滑动、攀爬、跳墙等...
如何使用?
很简单:安装软件包,为您的地板分配一个地面层,并在角色控制器(CharacterController)(如果您使用动画控制器(AnimatedController))中引用它,然后就可以开始使用了!该软件包既适合想要简单的即插即用解决方案的用户,也适合想要在现有代码基础上添加自己的修改的开发人员。
包含哪些内容?
软件包包含
玩家模型和多个障碍物网格
人形动画模型
包含所有 "核心 "组件的预制文件夹
2 个示例场景,用于指导用户使用角色控制器,并根据自己的需要找到最佳参数组合。
软件包的主要功能包括
第三人称和第一人称的基本角色移动
玩家可以移动角色和旋转摄像头
玩家可执行跳跃、远跳、爬墙、滑墙、蹲下、攀爬和冲刺等动作
避免与场景中的物体发生剪切的摄像头解决方案
基于胶囊的碰撞和简单的插值运动
允许玩家在碎石和不规则地形上行走
允许玩家在法线变化的光滑地形上行走
允许玩家在一定角度限制的斜坡上移动
地面捕捉,让玩家可以在地面上行走
|