Hello
How do I make a slingshot effect(CODE), only the option to click and drag and generate the force to the reverse side
Thank you
Hello
How do I make a slingshot effect(CODE), only the option to click and drag and generate the force to the reverse side
Thank you
on mouse down is start point,
on release is end point,
start point minus end point creates the direction vector.
add force to rigidbody.
Or, you can just look at what Unity provides when you Google “Unity Angry Birds”
http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/making-angry-birds-style-game