- Home /
Rigidbody on a moving tile
I have a ball with a rigidbody attached to it. I also have some tiles in the level that move back and forth. When this ball lands on a moving tile, the ball stays in its place, so the tile keeps moving, and once it's moved completely from underneath the ball, the ball falls down. How do I make the ball move along with the tile so that the tile won't just slide underneath it?
Comment
Best Answer
Answer by aditya · Nov 18, 2016 at 05:06 AM
Attach a rigidbody to tile also and move this tile with RigidBody.MovePosition
Accept if it helps