Climbing & looking at terrain

I’m trying to implement a terrain climbing feature.

I want the character to face the terrain side currently being climbed, but using hit.point isn’t working.

Here’s a video to demonstrate the issue:

1 Answer

1

Quite vague…
And quite unlikely that the unity system is broken.
Where are you shooting the rays from, the player, the wall? And are you sure it isn’t working? It looked fine, use OnDrawGizmos to put something at hit.point, and perhaps give us a secton of your script?

Amazing looking game BTW.

Thank you! didn't actually think the art style will appeal yet as it's still alpha. what i meant to say is that hit.point didn't solve the issue. I'm casting a ray from player's head forward to detect any walls, if any, player can start climbing while climbing im lerping player to the hit.point (to stick the character to the terrain) will send the code ASA im back home

No prob bro! Thnx.