- Home /
Project physics trajectory
I'm trying to basically recreate the effect from Angry Birds where you pull back on the bird and it creates a little line of dots showing the projected trajectory of the bird. I'm using the default Unity physics.
I've seen this question or similar questions asked a few times but with no real answers outside of "roll your own physics". Is there a way to do this easily without reinventing the wheel?
Answer by zombience · May 30, 2013 at 04:46 PM
You could have a look at this script from the Unify Wiki: [link text][1] [1]: http://wiki.unity3d.com/index.php/Calculating_Lead_For_Projectiles
You could use this script by feeding it incremental distances from your origin to your target, and find the collision point at each distance, and put a dot there or whatever you like.