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.

--

--

--

Learning to become a Unity game developer.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Example of Room Database with Content Provider — Part2

Week 10: Halfway through

You need a knowledge base

ARK Explorer V3 — Developed From The Ground-Up, New Design, Quicker Response and Ready for Push…

Why Go Is Popular Among Crypto Developers

8 Factors for an iOS developer to know apart from Swift, Objective-C and Xcode

5 Effective Ways to Boost Your Productivity as a Developer

Windows Server 2008 R2 Sp1

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
Rhett Haynes

Rhett Haynes

Learning to become a Unity game developer.

More from Medium

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

Indy Pro ’22: Talent Training

Platformer: Elevator

Upgrading A Unity Project To The Universal Render Pipeline (URP)