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.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
Irregular shaped object bouncing? (AS2)
|
1 | 114 | May 22, 2008 | |
|
Bouncing an irregular shaped object? (AS2)
|
0 | 84 | May 22, 2008 | |
| Drop, Bounce, Collide, Bounce? | 28 | 175 | July 6, 2008 | |
| Ball coll, angles | 0 | 38 | June 13, 2006 | |
|
Retrieving the perpendicular angle from an arc
|
23 | 167 | March 19, 2003 |