
11-17-2011, 09:49 PM
|
|
The Muffin Man
|
 |
Join Date: Oct 2010
Location: Australia
Posts: 563
|
|
|
You can invert the angle easily by doing
invertedangle=(angle+pi)%(pi*2)
as for the power, I would subtract a little from the initial collision. Then use the same direction formula you have already been given. |
|
|
|