Something on a moving platform


I know the question is already asked here , but the answer is not clear

I want to make my rigidbody objects moving with the platforms ?
How can I do that , i’ve tried checking use Kinematic on the platform , the rigidbody stays better on the platform but it slips quickly though even when the motion of the platform is very slow.

Thank you for reading.

Try setting the CollisionDetectionMode on the box and the platform to “Continuous Dynamic” - this should fix objects falling through each other, since they check for collisions along a line instead of just at the current point. It is a little slower, however, so you should only use it whenever you absolutely have to.

you need the both objects to be non-kinematic, and the platform moving with transform.translate, if you moving it with transform.position you can get the other object fall through the platform