My marble (Player/Gameobject) goes through the "play board" (gameobject). Why?

Hello all!

I don’t really like vague question, so here comes more detrails.

I have a marble that is moving around a board. The player has no control on the ball at all, though. What will make the marble move is the board and the gravity. The player rotates the board to move the marble around the maze. The board is moved by a script I programmed myself in C#.

My problem : When the marble is not moving anymore (completely stationary) and I try to move the board, the marble doesn’t detect the collision at all and stay fix in the air until I move it manually myself in the “Scene” tab. Of course, I do not want that, it should always be affected by gravity and it should never go through the floor randomly.

My question : What is happening exactly and is there a way I can fix this little problem? It doesn’t stop me from programming and testing anything else I want to implement in my game, but it’s still quite annoying to go through the floor with no real logical reason.

I thanks you in advance for reading all of this and hope you can help me with this little problem.

Try this and attach it to the marble, so it wakes up the rigidbody:

function FixedUpdate()
 {
 rigidbody.WakeUp();
 }

Rigidbody.WakeUp:

There are settings in edit–>proj settings–>physics that control when a rigidbody falls asleep (min velocity, min angular velocity, etc) but they seem to glitch too often to be reliable.