# Draw an arrow between the surface of two meshes?

**URL:** <https://forum.babylonjs.com/t/draw-an-arrow-between-the-surface-of-two-meshes/49347>\
**Category:** Questions\
**Created:** [April 4, 2024, 3:03pm UTC](https://forum.babylonjs.com/t/draw-an-arrow-between-the-surface-of-two-meshes/49347 "2024-04-04T15:03:24Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![roland](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/roland/32/38940_2.png) [@roland](https://forum.babylonjs.com/u/roland)\
**Post date:** [April 11, 2024, 5:29am UTC](https://forum.babylonjs.com/t/draw-an-arrow-between-the-surface-of-two-meshes/49347/22 "2024-04-11T05:29:53Z")

</div>

> [@apowers313](#):
>
> I still don’t understand why I need the `fudgeFactor` in this PG. When the arrow cap is 0.1 units long, I have to make the line 0.3 units shorter so that everything lines up okay… any insights?

Here is a function which draws arrows between two `Vector3`s.

> **[Babylon.js Playground](https://playground.babylonjs.com/#GI3BED%232)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [April 11, 2024, 8:02am UTC](https://forum.babylonjs.com/t/draw-an-arrow-between-the-surface-of-two-meshes/49347/23 "2024-04-11T08:02:33Z")

</div>

> [@roland](#):
>
> What package would be the best place to put these helpers in? Or should it be a separate 3rd party npm package?

If it’s going to be big, maybe create an extension in [GitHub - BabylonJS/Extensions: Extensions for Babylon.js](https://github.com/BabylonJS/Extensions)?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [April 11, 2024, 11:21pm UTC](https://forum.babylonjs.com/t/draw-an-arrow-between-the-surface-of-two-meshes/49347/24 "2024-04-11T23:21:47Z")

</div>

I would think like @Evgeni_Popov in the first place and depending on usage, let s consider moving it back in core ?

[Previous page](https://forum.babylonjs.com/t/draw-an-arrow-between-the-surface-of-two-meshes/49347.md?page=1)
