Rolling Ball Game

[=ArckVenture;242832]
Hey Luke, I am really impressed by your work there and had to give it a shot :slight_smile:
Your ideas for a gravity wall worked perfectly. The only problem I had was the camera: my idea was to rotate the camera according to the resulting gravity vector, but couldn’t really figure out how to do that. So I wanted to ask if you could show how you solved the camera rotation using the forward vector :slight_smile:
[/]

I actually haven’t resolved it quite completely, as there are some bugs left, especially with walls going up 90 degrees.

But you should definitely take a look at the “make rotation from axes” node. You can use the x-vector for forward, the negative gravity vector for upward, and the cross product of the two as the third vector.