MENU

Fun & Interesting

Anatomy of an Advanced Player Controller

git-amend 21,610 8 months ago
Video Not Working? Fix It Now

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 https://youtube.com/@git-amend Discord: https://discord.gg/FDRZGQBBUC #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-Player-Controller More Useful Code: https://github.com/adammyhre?tab=repositories 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/vfx/shaders/grid-master-286714?aid=1101lw3sv Gridbox Prototype Materials FREE: https://assetstore.unity.com/packages/2d/textures-materials/gridbox-prototype-materials-129127?aid=1101lw3sv Dungeon Mason Tiny Hero Duo: (FREE): https://assetstore.unity.com/packages/3d/characters/humanoids/rpg-tiny-hero-duo-pbr-polyart-225148?aid=1101lw3sv Tiny Heroes: https://assetstore.unity.com/packages/3d/characters/humanoids/rpg-tiny-hero-wave-pbr-228701?aid=1101lw3sv Hierarchy Icons: https://assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv Better Transform: https://assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-child-parent--276554?aid=1101lw3sv Better Mesh Filter: https://assetstore.unity.com/packages/tools/utilities/better-mesh-filter-266489?aid=1101lw3sv *Follow me!* https://linktr.ee/gitamend

Comment