# Bouncing off of irregular objects

**URL:** <https://forum.kirupa.com/t/bouncing-off-of-irregular-objects/290074>\
**Category:** Uncategorized\
**Created:** [June 9, 2009, 12:36pm UTC](https://forum.kirupa.com/t/bouncing-off-of-irregular-objects/290074 "2009-06-09T12:36:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flyingmonkey456](https://avatars.discourse-cdn.com/v4/letter/f/e47774/32.png) [@flyingmonkey456](https://forum.kirupa.com/u/flyingmonkey456)\
**Post date:** [June 9, 2009, 12:36pm UTC](https://forum.kirupa.com/t/bouncing-off-of-irregular-objects/290074/1 "2009-06-09T12:36:50Z")

</div>

i need a way to get the angle of any side on an object and have a ball bounce off of that side. let’s use a triangle for example. one edge is exactly on the edge of the hitbox, but the other two aren’t. how could i make the ball bounce off of the other two sides? keep in mind that this would have to work for an irregular object with a lot of angles and no symmetry.
