# Looking for a swinging rope example with arcade physics

**URL:** <https://phaser.discourse.group/t/looking-for-a-swinging-rope-example-with-arcade-physics/9146>\
**Category:** Phaser 3\
**Created:** [March 19, 2021, 8:54am UTC](https://phaser.discourse.group/t/looking-for-a-swinging-rope-example-with-arcade-physics/9146 "2021-03-19T08:54:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lupo](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/lupo/32/4808_2.png) [@Lupo](https://phaser.discourse.group/u/Lupo)\
**Post date:** [March 19, 2021, 8:54am UTC](https://phaser.discourse.group/t/looking-for-a-swinging-rope-example-with-arcade-physics/9146/1 "2021-03-19T08:54:31Z")

</div>

Hey Community,

i’ve already created small retro games with arcade physics in different styles - for my pitfall tribute a swinging rope is essential - searching the examples didnt bring me any luck -

i am thinking if the following would be an adequate way to approach it

create a tween with pendulum movement for a e.g. spot like sprite - test for collision with the player - “hook” player movement to swinging movement

but my problem with this approach is, that i am only able to animate the spot - not attach a swinging rope to it

Are there any examples or tutorials you could advise? Any comments are heavily appreciated.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [March 20, 2021, 5:36pm UTC](https://phaser.discourse.group/t/looking-for-a-swinging-rope-example-with-arcade-physics/9146/2 "2021-03-20T17:36:59Z")

</div>

https://codepen.io/samme/embed/preview/NWbQXdX?height=300&slug-hash=NWbQXdX&default-tabs=js,result&host=https://codepen.io

---

<div class="post-metadata">

**Author:** ![Lupo](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/lupo/32/4808_2.png) [@Lupo](https://phaser.discourse.group/u/Lupo)\
**Post date:** [March 21, 2021, 7:14am UTC](https://phaser.discourse.group/t/looking-for-a-swinging-rope-example-with-arcade-physics/9146/3 "2021-03-21T07:14:45Z")

</div>

wow that’s great! thank you very much samme!
