How to make my 3d floor tilt while locked i place

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By royalti

I’m basically trying to make a digital version of one of those games you used to get at McDonalds back in the day where you tilt the “device” with the goal of rolling the balls into the holes. So how do I make my floor static but also tilt.

![tilt ball toy - Google Suche][1]

![tilt ball toy - Google Suche][2]

:bust_in_silhouette: Reply From: RedBlueCarrots

There are 2 possible solutions i would try:

  1. Set the floor to something other than a static body (kinematic or rigid body), and rotate that instead.

  2. Rotate the player and the camera instead of the floor and change the gravity direction of the ball accordingly

I haven’t tried these solutions before, they’re just some ideas I had to work around this