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

Hand Position game object created as a target for the Player.
Adjusted the size of the Ledge Grab Checker and Hand Position game objects.
Hand Position game object assigned and passed in to the GrabLedge() method.
Player’s position is assigned to the Hand Position when the Player grabs the ledge.
Player is aligned with Hand Position object, but not correctly.
Player’s Ledge Checker equals the position of the Hand Position.
Player grabs the ledge according to its position with the Ledge Grab Checker equaling the Hand Position.
Ledge Grab Checker’s position equals the Hand Position, but the Player’s position is still off.
Player needs alignment adjusted to match the Hand Position.
Player’s position adjusted with an offset added to the Hand Position object.
Player just grabbing the ledge at the Hand Position.
Player’s hands matching the Hand Position object’s position with distance in between.
Player’s position moved a little closer on the Z-axis to the Hand Position object.
Mesh Renderer turned off for the 3 ledge checker objects to see the Player’s hands clearly.

--

--

--

Learning to become a Unity game developer.

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

Recommended from Medium

Segment Routing

我的Docker之旅

Summer 2021 — Task 11

Static Libraries in C

Test Estimation Techniques

Understanding Product Management: A Guide for Software Engineers

Why your mobile app should be cross platform

How to monitor node.js applications?

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: Make a game look beautiful-Create a wall over the…

Platformer: Elevator

Moving Platform and Lives

Building and Testing your Unity game