Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I was wall surfing by holding down jump before I remembered how to read and saw that you could change gravity. The gravity shift is a really cool mechanic! Can I ask how you went about changing it?

(+1)

I use the normal of the collisions and create quaternions to rotate the body to have his local up be aligned to the normal.

All moving computations are made as if it was normal but multiplicated by the transform of the body in the end to be coherent.