Contour gravity

all I need is this: (I think)

Send a raycast down and find the surface normal, and set our rotation to that normal.

Could you provide me a script maybe explaining normals and raycasting to set our rotation to that normal?

That way I can use that to learn normals in alot of ways.


Lots of examples can be found in the reference: Physics.Raycast

The normal of the surface the ray hit: RaycastHit.normal

To rotate an object (e.g. when instantiating) you can use this normal as the forward-vector for Quaternion.LookRotation.