How to Snap 3D Platformer to Ledge Grab

Godot Version




Currently I have 2 Raycasts that place an Area3D to define a grabbing point and a third (short) raycast that actually checks for that area. I want to snap my character so it’s parallel to the face it’s grabbing on to. How do I check so I can rotate the character around that grabbing point until it’s parallel to the face.

Nevermind I just realized I can use the surface normal from the first raycast

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.