How to make meshes on the ground move with the ground driven by Havok?

Hey~all, These meshes are not affected by ground rotation. How can I simulate real-world motion?
pg: https://playground.babylonjs.com/#7JI3E8#11

Hello! Just guessing. You have to define friction on the ground and on the objects as well.

1 Like

I simplified the code to show my problem more clearly.
pg: Babylon.js Playground

An efficient solution. I’m wondering if it’s possible to go back to animating to achieve the same result.
pg: https://playground.babylonjs.com/#KKG7PR#1

2 Likes

I think it should work by defining the proper physics material (mass, friction, don’t know whatever else) for the objects as well.

EDIT: However I suppose you then need to rotate the ground by applying some force using Hawok to it and not animate it off the physics engine.