I am trying to implement a clibing-up script, so that the player can climb on large objects in front of him. For this I would like to identify, if the player is in front of an object, which has a face with normal up - so basically the upper face.
I googled now for hours, but did not find an easy solution for this.
Somebody an idea how to do this? Does unity store somewhere the direction of an normal?
Here is an idea: use nav mesh for that - it generates walkable meshes, pointing up, by definition.
Generate navmesh data (separate from one that ai would use) that meets all of your climbing system criteria and NavMesh.SamplePosition() that. It’s precomputed so you can see climbing data visualized without any additional coding.