# Please help me, making precise mouse dragging for Havok physics meshes

**URL:** <https://forum.babylonjs.com/t/please-help-me-making-precise-mouse-dragging-for-havok-physics-meshes/41546>\
**Category:** Questions\
**Tags:** physics, ray, havok\
**Created:** [June 11, 2023, 11:38am UTC](https://forum.babylonjs.com/t/please-help-me-making-precise-mouse-dragging-for-havok-physics-meshes/41546 "2023-06-11T11:38:31Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![thomasaull](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/thomasaull/32/40115_2.png) [@thomasaull](https://forum.babylonjs.com/u/thomasaull)\
**Post date:** [June 13, 2023, 8:13am UTC](https://forum.babylonjs.com/t/please-help-me-making-precise-mouse-dragging-for-havok-physics-meshes/41546/8 "2023-06-13T08:13:30Z")

</div>

@jamessimo I’m using the exact same interaction in my app [https://www.mokk.app/](https://www.mokk.app/)

You’re basically almost there, the only thing you’ll need to change: instead of moving the sphere directly by setting the position (which I assume is what the PointerDragBehaviour is doing) you need to apply an appropriate force to move it. The last playground in @carolhmj’s post has example code for this: [Havok physics behaves unnatural when moving a box with a constraint - #13 by carolhmj](https://forum.babylonjs.com/t/havok-physics-behaves-unnatural-when-moving-a-box-with-a-constraint/40248/13) (check the `setPosition` function)

I’m not sure if you can stop PointerDragBehaviour to modify the position of the sphere direclty. In case it’s not possible you can either use another sphere for the actual joint or implement your own pointer drag behaviour (this is what I did, don’t really recommend it for this case 😅 I think I did it because I wanted to have more control for some other parts).

---

_[View the full topic](https://forum.babylonjs.com/t/please-help-me-making-precise-mouse-dragging-for-havok-physics-meshes/41546)._
