In the ThirdPersonCharacter folder you'll find two ready-made character prefabs, which are used in the ThirdPersonCharacter sample scenes. These prefabs demonstrate how you can use the ThirdPersonCharacters scripts and animations we've included, including an AI-controlled variant which is able to walk towards a specified target, or follow a waypoint-based route.
The simplest way to get started setting up your own character is to take our ThirdPersonCharacter and replace the art with your own model. To do so, make sure you've imported your own rigged model with a Humanoid avatar, then follow these steps:
1) Start with a suitable scene. There ought to be enough flat ground to walk around on.
2) Place the "ThirdPersonCharacter" prefab in the scene.
3) Unfold the ThirdPersonCharacter hierarchy in the hierarchy window, and delete all child of "ThirdPersonController".
4) Place your own character model as a child of the ThirdPersonCharacter.
5) Drop the Avatar of your model (created by model importer, cf documentation) inside the Avatar slot of the Animator component on "ThirdPersonController"
6) Make sure your character model's position in the inspector is set to zero on X and Z, and that it's Y position is appropriately adjusted so that your character's feet are at the same position as the ThirdPersonCharacter GameObject. (if you find it easier, you could add your character first before deleting Ethan, so that you can use Ethan's feet as a guide for where your character's feet should be)
7) Hit play, and try controlling your character!
You'll probably want to add a camera rig so that the camera follows the character as it runs off. See the Camera Rig guidelines for instructions on how to do that.
The ThirdPersonCharacter script exposes a number of properties which determine the jump power, the amount of control while in air, and various other speed and behaviour modifiers. For more detail about each setting, see the comments in the script.
The ThirdPersonUserControl script takes input from the "CrossPlatformInput" class included in the sample assets, however if you're not targeting mobile or prefer to use a different system to read input, you can simply use Unity's built-in Input class in place of CrossPlatformInput. For more information, see the CrossPlatformInput guidelines.
The sample scenes provided works on standalone and also include cross platform touch controls which are set up and ready to publish to mobile.
The ThirdPersonAIControl component can be added instead of the user control component, allowing the character to be AI controlled. This relies on a NavMeshAgent to pathfind the way to the target. The NavMeshAgent should be a child object of the Character, as demonstrated in the AI Character Prefab provided. If you want to create your own AI characters, you can follow the steps above, but start with the AI prefab we provided.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Unity Shader - 隐身效果 (396个子文件)
00000000000000001000000000000000 4KB
00000000000000002000000000000000 4KB
00000000000000003000000000000000 4KB
00000000000000004000000000000000 4KB
00000000000000004100000000000000 4KB
00000000000000005000000000000000 4KB
00000000000000005100000000000000 4KB
00000000000000006000000000000000 4KB
00000000000000006100000000000000 4KB
00000000000000007000000000000000 4KB
00000000000000007100000000000000 4KB
00000000000000008000000000000000 4KB
00000000000000008100000000000000 4KB
00000000000000009000000000000000 4KB
0000000000000000a000000000000000 4KB
0000000000000000a100000000000000 4KB
0000000000000000b000000000000000 4KB
0000000000000000c000000000000000 4KB
0d9d26e2162aa4d11ab075b34c029673 517KB
0de3730b71e479c47995d4a98395073e 4KB
1062212255550964e974f3ffb3cbaae3 908KB
1c52c953c83c2254a9fa72d50250f028 1.48MB
1cb8ed3cbba15f0479fbae54e0a963df 1.36MB
29486a9cd1773f44f80570b5bd896a1d 4KB
351e69bd95044b942a580911febe7dab 4KB
3b5b7be0f2332c24f89a2af018daa62d 21.34MB
3c0ad459c1534645b5d603b7cc258f97 6KB
4e2f32e9a1fefc24092337ae061f3dbc 10.68MB
51dd2e4c869794f75a0df7d54b210214 389KB
535365c2a03f4d944b4e24d8e518b058 4KB
5359bfc89ef648f4f9916a0f63e55562 180KB
54eb5844754051b40a918a84c33b7c1a 4KB
583d30ab0f69b6c4f8ba5f79e4f8c8fd 4KB
5f32cd94baa94578a686d4b9d6b660f7 8KB
621e901dcf5ebaf46bce29d18f67194c 4KB
6ca26d213d66ede4182e02cef3cc2283 69KB
6fb3851da6a6f5948ab6892bee8ba920 2.65MB
739bbd9f364b4268874f9fd86ab3beef 6KB
7737647c22c1fc64a88d5cd030c352ce 4KB
7cbab2be89b54486bbd23a6fe637d30e 4KB
7d99802a05a130f4182fc13341990810 4KB
80a3616ca19596e4da0f10f14d241e9f 9KB
84259f18ba45b7949b08e75697e17024 4KB
852e56802eb941638acbb491814497b0 6KB
869581cfd9de9f64eaf70c862538f53f 4KB
870353891bb340e2b2a9c8707e7419ba 8KB
8912f13e18e67bc478684ec30d73bc64 4KB
8c32f58513a41ef4dab9cb7704c5fb92 4KB
8e0cd8ed44d4412cbe0642067abc9e44 4KB
97decbdab0634cdd991f8d23ddf0dead 4KB
a30916d256c2df740a20e0bdcda99a0b 4KB
ac8b2a9f32087c3468a474272c7df76a 4KB
adebbd281f1a4ef3a30be7f21937e02f 6KB
aef224e1951a8274684081643c7fa672 4KB
af82a5dcdad0f544c99fd1a84212021d 7KB
AnnotationManager 4KB
ProjectSettings.asset 36KB
ProjectSettings.asset 36KB
InputManager.asset 5KB
QualitySettings.asset 5KB
NavMeshAreas.asset 4KB
Physics2DSettings.asset 4KB
TagManager.asset 4KB
DynamicsManager.asset 4KB
GraphicsSettings.asset 4KB
EditorUserBuildSettings.asset 4KB
EditorSettings.asset 4KB
EditorUserSettings.asset 4KB
AudioManager.asset 4KB
BuildSettings.asset 4KB
UnityAdsSettings.asset 4KB
UnityConnectSettings.asset 4KB
NetworkManager.asset 4KB
TimeManager.asset 4KB
EditorBuildSettings.asset 4KB
ClusterInputManager.asset 4KB
InspectorExpandedItems.asset 4KB
MonoManager.asset 4KB
assetDatabase3 1.5MB
AssetImportState 8B
AssetServerCacheV3 5KB
b1a5e04ae51004842aba06704a6c2903 1.15MB
b235179bd2a63d1468dd430670338c55 948KB
b54f44922e5fb8445a71619a856e4510 68KB
bb141fc9a700c9c4ca7e6dadb8acf24b 1.07MB
4397f51b88e87740bd5aff53a2d52609.bin 7KB
1e75507c198c096136b3814107bda88c.bin 7KB
f5d4a045850664422d2c7c938f46a409.bin 7KB
c55b5a69bd9483dc7bd278c5f7978d6c.bin 7KB
aea0e6809ac914f4b2492015fd189d42.bin 6KB
bca67f38eb836cf353afb73b2599f2d8.bin 4KB
ec296f51e37a5380a42dec445a8180bc.bin 3KB
a33100a7823b0cdf0886ed4320a6e129.bin 3KB
5293bef1565ea5ca09dc6cff39b637f4.bin 3KB
3f3037ede3f1da0bb4e701c24c769b9e.bin 3KB
1d547ba3889af37a47296bbb9eac219e.bin 3KB
f58760f112c968010c136769b1ccd31b.bin 3KB
732be931024f2e3c8145e48fc558d6fa.bin 3KB
7d560eb5849ef6bec86eb10f3db23f9b.bin 3KB
a4548b60d0bb597d429c7d69c32b2bd8.bin 3KB
共 396 条
- 1
- 2
- 3
- 4
资源评论
起个名字真的好难啊
- 粉丝: 580
- 资源: 37
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功