Handles the movement of a character in 2D. Inherits from Actor movement component.
PlayerController2D(Actor* pOwner, int pUpdateOrder = 100);
Constructor of a 2d player controller.
void EnableDirection(Vector2D pDirection);
Enable a direction.
If you set x or y = 1 / -1 you will enable the direction assiociated with it.
void DisableDirection(Vector2D pDirection);
Disable a direction.
If you set x or y = 1 / -1 you will disable the direction assiociated with it.