Learn how to create a 2D platformer controller in Unity that can reliably handle slopes and moving platforms.
In episode 01 we do some set-up work to make our lives easier later on.
Watch episode 02: https://youtu.be/OBtaLCmJexk?list=PLFt_AvWsXl0f0hqURlhyIoAabKPgRsqjz
Download source code here: https://github.com/SebLague/2DPlatformer-Tutorial
Frequently Asked Questions:
Q: Rays are not visible in game window.
A: By default, rays are only drawn in the scene view. You can toggle their display in game view by pressing the 'Gizmos' button (located near to 'maximize on play').
Follow me on twitter @SebastianLague
Support my videos on Patreon: http://bit.ly/sebPatreon