well i learned how to triangulate simple polygon into smaller triangles,but i still got a problem with the reaction. To bounce an object back after it hits another object with convex shape,i used the separating axis theorem.but if i triangulate a concave shape and its divided in to many triangles,and when an moving object hittings its,if i use the SAT to do the reaction sometimes i might just be bouncing between the 2 triangle inside the shape(depends on where the object hits).any one know how to handle the reaction?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Reflection math and collision detection problem
|
1 | 116 | June 15, 2008 | |
Drop, Bounce, Collide, Bounce? | 28 | 145 | July 6, 2008 | |
AS3: Seperating Axis Theorem
|
0 | 45 | March 7, 2009 | |
Irregular shaped object bouncing? (AS2)
|
1 | 107 | May 22, 2008 | |
Bouncing an irregular shaped object? (AS2)
|
0 | 76 | May 22, 2008 |