# Fling a Physics body to a specific point

**URL:** <https://forums.solar2d.com/t/fling-a-physics-body-to-a-specific-point/354173>\
**Category:** Physics\
**Created:** [November 9, 2021, 4:34pm UTC](https://forums.solar2d.com/t/fling-a-physics-body-to-a-specific-point/354173 "2021-11-09T16:34:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ultimateprogramer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/ultimateprogramer/32/2106_2.png) [@ultimateprogramer](https://forums.solar2d.com/u/ultimateprogramer)\
**Post date:** [November 9, 2021, 4:34pm UTC](https://forums.solar2d.com/t/fling-a-physics-body-to-a-specific-point/354173/1 "2021-11-09T16:34:50Z")

</div>

Hi guys,

I was curious. I wanted to use physics to Fling a dynamic object toward a specific point (for instance when a tap happens - the object should be flung toward that point with physics simulation). I don’t want to write code for this - I just wanted it to react to dynamic object impulse force physics. What can be the best approach? Tried to read Physics documentation and search through the forum but didn’t manage to get what I needed.

---

<div class="post-metadata">

**Author:** ![GrahamRanson1](https://forums.solar2d.com/user_avatar/forums.solar2d.com/grahamranson1/32/83_2.png) [@GrahamRanson1](https://forums.solar2d.com/u/GrahamRanson1)\
**Post date:** [November 9, 2021, 6:36pm UTC](https://forums.solar2d.com/t/fling-a-physics-body-to-a-specific-point/354173/2 "2021-11-09T18:36:00Z")

</div>

You want to get the angle between the two positions, then get a vector from that angle. Then finally apply an impulse to the object using that vector.

---

<div class="post-metadata">

**Author:** ![system](https://forums.solar2d.com/uploads/default/original/1X/1bf6a947166df24e92aaa3358558f4b82d7f3d5a.png) [@system](https://forums.solar2d.com/u/system)\
**Post date:** [May 8, 2022, 6:36pm UTC](https://forums.solar2d.com/t/fling-a-physics-body-to-a-specific-point/354173/3 "2022-05-08T18:36:01Z")

</div>

Closed on May 8, 2022, 6:36pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
