Issue with moving mesh with havok (derive)

Hi everyone, first post here.
I’m trying to move a mesh physics body with mouse. I want to drag it like it was a normal object, no dynamics, no bounces, no friction, no gravity at all. This is because i want to get collisions infos like distance and normal vector when two meshes collide. I will manage collisions by my own.
I’m using setTargetTransform to move the mesh, but when i stop moving the mouse the mesh keeps moving. I’m using BABYLON.PhysicsMotionType.ANIMATED as motion type. Plus, with PhysicsMotionType.ANIMATED I’m not getting collision event, while with PhysicsMotionType.DYNAMIC I get the event, but like I said I want pure kinematic movement.
This is the playground code:

Thank you very much.

cc @Cedric

Hi @Pam welcome to the forum!

Did you try Shape cast? Babylon.js docs

For custom handling of collision, this might be a good fit for you use case.

EDIT:
Behavior is expected as Babylon.js docs will set a velocity. It mush be called every frame so velocity is updated each frame.

It’s possible to just change the mesh position : https://playground.babylonjs.com/?BabylonToolkit#7PNVGJ#10