# Help with collision detection between a narrow spinning rectangle and other shapes

**URL:** <https://forum.kirupa.com/t/help-with-collision-detection-between-a-narrow-spinning-rectangle-and-other-shapes/324414>\
**Category:** flash\
**Created:** [August 19, 2011, 12:40pm UTC](https://forum.kirupa.com/t/help-with-collision-detection-between-a-narrow-spinning-rectangle-and-other-shapes/324414 "2011-08-19T12:40:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ohls](https://avatars.discourse-cdn.com/v4/letter/o/59ef9b/32.png) [@Ohls](https://forum.kirupa.com/u/Ohls)\
**Post date:** [August 19, 2011, 12:40pm UTC](https://forum.kirupa.com/t/help-with-collision-detection-between-a-narrow-spinning-rectangle-and-other-shapes/324414/1 "2011-08-19T12:40:19Z")

</div>

I’m trying to make a labyrinth type game where you control a narrow spinning rectangle. And you have to navigate it through a course without touching the walls.

I’ve been looking for 2 evenings now and I just can’t find any type of collision detection that will do this. I’m quite a novice so I’m beginning to wonder if this is even possible for me to accomplish. All the tutorials I find are assuming the player will be a square, circle or a point.

Anyone able to help me out here or will I have to scrap this idea :(?
