# Testing for collisions between rotated objects

**URL:** <https://forum.kirupa.com/t/testing-for-collisions-between-rotated-objects/203831>\
**Category:** flash\
**Created:** [October 14, 2006, 5:25pm UTC](https://forum.kirupa.com/t/testing-for-collisions-between-rotated-objects/203831 "2006-10-14T17:25:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Blips](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Blips](https://forum.kirupa.com/u/Blips)\
**Post date:** [October 14, 2006, 5:25pm UTC](https://forum.kirupa.com/t/testing-for-collisions-between-rotated-objects/203831/1 "2006-10-14T17:25:22Z")

</div>

I’m writing a general physics engine and I’ve come across the problem I’ve always had with flash. So far all my hittests in my physics engine have been calculated by using x/y coordinates and the 2 objects dimensions. This has worked fine for the objects so far because they have been very square-ish and do not rotated. How ever now I am trying to detect if 2 rotated objects are hitting. How can I do this ? I would really like to avoid using any .hitTest() functions.
