Inputs

2D Character Controller Tutorial

2D Character Controller Tutorial

Source code for completed 2D character controller for Unity tutorial from my site, roystan.net.

Character Controller jumping around sample scene

Contains a 2D character controller that can walk and jump. This controller does not handle sloped surfaces: only flat ground or vertical walls. Uses custom physics and collision—no rigidbodies or forces are used.