Having trouble preventing character slipping on platforms

Hello,

I’m working on a platformer, and I’ve got my character jumping and landing on platforms, however when he lands on moving platforms he slides around rather than following the platform perfectly.

I’ve attached a picture of what happens.

Basically the character “shimmies” slowly sliding off the platform rather than inheriting the platform’s movement and sticking to it properly. This is despite the fact that the platform is perfectly flat (not tilted at all to cause a slide). The picture I drew shows the shimmy direction opposite the direction of the moving platform, but this is not always the case.

I’ve got the platform set up as a box collider attached to a rigid body that is kinematic (moved by a script). It has a material I’ve created that I’m calling “Metal” with dynamic friction 0.6 and static friction 1.0 and 0 bouncyness. The combine is set to Maximum for both. Use gravity is turned off.

The character is also a box collider on a rigidbody, with gravity turned on. He is not kinematic. His physics material has 0.5 dynamic friction and 0.8 static friction and 0 bouncyness. His combines are both set to Maximum. He has a mass of 1, drag of 0.8 and angular drag of 0.05. I have freeze rotation checked on him.

Can anyone please offer some suggestions on how I can ensure he will stay rooted to the platform and not slowly shimmy off the platform over time?

Thanks.

168620--6080--$scan_888.jpeg

I am having the same issue, and cant find a solution… we need help here!