[Bepu2] Moving platform

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
Darkon76
Posts: 23
Joined: Mon Mar 27, 2017 12:33 pm

[Bepu2] Moving platform

Post by Darkon76 »

Hello, I'm trying to create moving platforms than can carry objects, the problem is that it looks like the platform is made of ice. It has the default FrictionCoefficient of 1. At bepu 1 if both the payload and the platform had friction 1 they will move in parallel.
2019-06-17_13-11-39.mp4
Friction 1
(1.68 MiB) Downloaded 373 times
If I increase the friction to 5. I moves with the platform but the carried object starts rotating.
2019-06-17_13-13-12.mp4
Friction 5.
(1.47 MiB) Downloaded 352 times
Is there a way to have the same behavior of bepu 1, that if you set the friction to 1, and you start moving the platform the carried object start moving in place, with out acceleration?
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: [Bepu2] Moving platform

Post by Norbo »

Two things likely happening:
1) v1 split friction into kinetic versus static. Static tended to be higher, so unmoving objects (relative to the support) slid less.
2) v1 arbitrarily boosted inertia tensors by default, making them less prone to rolling.

So what you are observing is expected behavior. If you want stickier/less easily rolled behavior, use a higher friction coefficient and scale down the inverse inertia tensor.
Darkon76
Posts: 23
Joined: Mon Mar 27, 2017 12:33 pm

Re: [Bepu2] Moving platform

Post by Darkon76 »

Hello

Thanks for the help
Post Reply