I am trying to make a 2d snowboarding game (similar to alto’s adventure or ski safari) and can’t figure out how to adjust the rotation of the player object based on the terrain. Any help is appreciated! (Oh, and preferably in c# since I am not familiar with javascript).
Its easy, TerrainData.GetSteepness
You check the Derivate at every point, but i wonder why you use terrain in a 2d game
@Menyus777 Maybe terrain would be the wrong term, it’s a sprite with a collider, will this method still do the trick?