Skip to content

qhenshaw/CharacterMovement

Repository files navigation

Character Movement

Unity 2021.1+ License: MIT

Character Movement is a set of Rigidbody based movement components. It supports:

  • 2D and 3D movement
  • all physics (characters can be launched by setting velocity or adding force)
  • moving floors/platforms (characters match speed with velocity of rigidbody floor surfaces)
  • navigation using NavMeshAgent to find paths
  • max slope angle for standing/moving
  • "coyote time" allows for jumping just after leaving platforms

System Requirements

Unity 2021.1+. Will likely work on earlier versions but this is the version I tested with.

Installation

Use the Package Manager and use Add package from git URL, using the following:

https://github.com/qhenshaw/CharacterMovement.git

Usage

Install any of the demo samples for an example of using the CharacterMovement components to drive player movement using the InputSystem and Cinemachine.

Current samples available:

  • 1st person
  • 3rd person
  • Top-down 3D
  • 2D platformer
  • 2.5 platformer (3D character/level with 2D physics)
  • 2D hybrid (2D character/3D level with 3D physics)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages