My journey becoming a Unity game developer: 2.5D Infinite Runner-Ledge Grab System-Pt2

Ledge Grab Checker enters into the Ledge Checker, turns off Player’s controller, and Player in Hanging Idle animation.
Ledge Checker game object created, scaled, and positioned in front of a ledge.
Testing to see if the Player’s Ledge Grab Checker collides with the Ledge Checker.
Player’s movement code removed from Update(), and placed in the new CalculateMovement() method.
Player’s controller turned off in the GrabLedge() method.
When Player’s Ledge Grab Checker enters the Ledge Checker, the GrabLedge() method is called.
Ledge Grab Checker with Is Trigger turned on, Rigidbody added, and Ledge script attached.
Is Trigger turned on and Ledge script attached to the Ledge Checker.
Player’s controller turns off when the Ledge Grab Checker enters into the Ledge Checker.
Hanging Idle animation transitioned with the Running Jump animation using the Ledge Grab SetBool equals True.
Using the Animator’s SetBool to set the Ledge Grab to True.
Hanging Idle animation plays when colliding into the Ledge Checker.
Mesh Renderer turned off for the Ledge Grab Checker and Ledge Checker game objects.
Player in the Hanging Idle animation grabbing the Ledge Checker object.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store