Skip to content

SilentScorpion/CharacterController2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CharacterController2D

A Controller that allows players to

  1. Move
  2. Jump
  3. Climb up/down the slopes
  4. Moving platforms
  5. Jump on the walls

Controller2D.cs does all the calculation for collision detection using Raycasting. Raycast Controller handles player movement, slopes and moving platforms far more consistently than Rigidbody.

Player.cs does takes input from the user and then sends the information to Controller2D.cs to move the Player.

Took help from Sebastian Lague's tutorials in this matter to achieve the same. Added double jump in the Player's armoury.

About

A Controller that allows players to move, jump, climb up/down the slopes, moving platforms, jump on the walls etc. using Raycasting in 2D.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages