How to Snap 3D Platformer to Ledge Grab

Godot Version

v4.2.stable.arch_linux

Question

2023-12-09_22-19

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.