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.
- Add TDCharacterController2D.cs to a GameObject. (A CircleCollider2D will be added automatically.)
- Add a Rigidbody2D to either the same GameObject or a parent. (The Rigidbody2D will be set to isKinematic at run time.)
- Set CollisionLayers in the Inspector.
- Move using
TDCharacterController2D.Move(Vector2 motion);
1.0 by: Sebastiao Almeida - [email protected]
2.0 by: Adam Scoble - [email protected]
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.