Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.37 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.37 KB

TDCharacterController2D

A top down character controller for interacting with Unity's 2D colliders, without the need for a non-kinematic Rigidbody. Built to replicate the default CharacterController's Move() function.

Usage

  1. Add TDCharacterController2D.cs to a GameObject. (A CircleCollider2D will be added automatically.)
  2. Add a Rigidbody2D to either the same GameObject or a parent. (The Rigidbody2D will be set to isKinematic at run time.)
  3. Set CollisionLayers in the Inspector.
  4. Move using TDCharacterController2D.Move(Vector2 motion);

Team

1.0 by: Sebastiao Almeida - sebastiao.strd@gmail.com

2.0 by: Adam Scoble - adam.scoble@gmail.com

License

You are free to use the TDCharacterController2D in both commercial and non-commercial projects. You cannot sell the TDCharacterController2D as a standalone asset, or bundle of assets. But if it is utilised as part of a larger package, that has its own functionality, then you may sell that.