2D-Character-Controller
2D-Character-Controller copied to clipboard
Free 2D Character Controller for Unity.
Previously, I had a problem with the character performing infinite jumps once he is off the ground. Another poster some time back added: Cancel Former Momentum on Jump to the...
2D Character Controller unintentionally crouches when a ceiling is detected. This is because we are checking for a ceiling when "!couch". Simple fix was to check if the character was...
This is very bad: garbage collection and ram usage will spike OverlapCircleAllNonAlloc is more appropriate here
My code: `using UnityEngine; public class PlayerMovement : MonoBehaviour { CharacterController2D controller2D; float horizontalMove = 0f; float runSpeed = 70f; bool jump = false; bool crouch = false; // Update...
not work
it doesn't work, may it be because unity is no longer the same as it was 4 years ago? (i use google traslate, sorry for english)