2D-Character-Controller
2D-Character-Controller copied to clipboard
Free 2D Character Controller for Unity.
There doesn't appear to be a license, how can I use this?
By leaving the line `m_Grounded = false;` in the statement `if (m_Grounded && jump)` it will cause in some cases for the `OnLandEvent()` to be triggered prematurely. This is because...
So I have all of the code correctly written, I am not using the crouch so I left that part out, but yesterday when I implemented the movement, the jump...
What's the naming convention means by starting by m_ and k_?
If the player is going up in a diagonal plataform it jumps way too much. This happens because the jump force is added in the already accumulated up force from...
Default value for: crouch = false bool jump = false Reason: Easier to use the function
If, while jumping, the ceilingCheck hits something, it disables the boxCollider, which is unwanted.
When using the script as it is provided, the transforms for ceiling and ground checks, as whell as the layer mask return this error from the editor: > Assets\CharacterController2D.cs(11,43): warning...
Update to Flip logic from Brackeys "2D Shooting in Unity (Tutorial)" - https://youtu.be/wkKsl1Mfp5M @2:47 Simply rotate the player.