Godot Version
4.4
Question
I have a simple game with a piece of terrain modeled as a StaticBody3D with a CollisionShape3D and a concave polygon as the shape. It is the green hills in this screenshot.
What I want is to find the normal at a certain point on this terrain. Ideally I put in X and Z coordinates and get back a Vector3 representing the angle relative to some universal direction. However, I am finding it hard to find something like this.
What’s the best way to get a value like this? Thanks!