Anatomy of an Advanced Player Controller

Опубликовано: 11 Август 2024
на канале: git-amend
11,153
656

Building and Advanced Player Controller than can handle friction, gravity, step height, slopes, stairs, jumping and falling and so on, is a daunting task. Today we're going to build a system than can take full control of these physics calculations and move our Character in a professional and realistic manner!

NOTE: Older versions of Unity, use Rigidbody's velocity property instead of linearVelocity to apply velocity to the player.

Want to support me? 😀
Buy me a coffee! https://ko-fi.com/adammyhre

🔔 Subscribe for more Unity Tutorials    / @git-amend  

Discord:   / discord  

#unity3d #gamedev #indiedev

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 Raycast Sensor
3:17 Player Mover
12:50 Player Controller
27:54 Jumping and Falling

Source code: https://github.com/adammyhre/Advanced...

More Useful Code:
https://github.com/adammyhre?tab=repo...
Unity Utility Library: https://github.com/adammyhre/Unity-Utils

Assets Shown In This Video (Affiliate Links)
Grid Master Shader FREE: https://assetstore.unity.com/packages...
Gridbox Prototype Materials FREE: https://assetstore.unity.com/packages...
Dungeon Mason Tiny Hero Duo: (FREE): https://assetstore.unity.com/packages...
Tiny Heroes: https://assetstore.unity.com/packages...
Hierarchy Icons: https://assetstore.unity.com/packages...
Better Transform: https://assetstore.unity.com/packages...
Better Mesh Filter: https://assetstore.unity.com/packages...

Follow me!
https://linktr.ee/gitamend