How to move a physics object with the SixDofDrag?

Hi all, I’m trying to drag a physics object with the sixdofdrag but I’m unable to. Do i need to set velocity or some other forces when dealing with the physics objects and drag?

You have to set disablePreStep as false on the sphere’s body: havok physics test | Babylon.js Playground (babylonjs.com) the pre-step is responsible for synchronizing the object’s transformation with the physics body transformation, but this has an impact on performance so it’s turned off by default, making it so the physics body transformation overrides the body transformation.

2 Likes

Thank you very much!

1 Like