Hi there, i'm having trouble to make a throwing script,i want to throw the green square above the black one
I tried to get the distance between them, set dist.x *= 0.8f and then addForce(dist),but depending on the distance, the green square flies like crazy :'(
I have searched too for throwing at a certain angle and speed, and the use of addForce vs translate,
but could not found an answer for this problem; any thoughts?
![alt text][1]
[1]: http://i.imgur.com/tD3xCTD.png?1
↧