Hello, I´m developing a game in which a cube will be rotating while the players must stay as long as possible within it.
The problem that I have is that when the cube rotates, the player moves towards the cube making it impossible to fall.
¿How can I make the player stay in a side of the cube without moving upwards like as shown in the gif? Thank you!!

3 comments
Shouldn't the cube rotate faster than that shown in the GIF - or does a similar effect persist?
Yes, it goes faster and faster as time elapses.. but it gives me the same issue no matter what speed, actually when it goes faster the player even jumps when it reaches an edge to the next edge
Instead of a cube, use a ball.