I am trying to set up a 3D ragdoll flicking game as test app. In this app I need to know how to set up a script where your flick determines your velocity (like in a flick basketball game).
I did some research and found this: http://answers.unity3d.com/questions/7258/iphone-flick-shooting
But time determination is lame. Does anybody know how to set up a professional script? That would be much appreciated.
asked Jun 20 '10 at 01:11 PM
Try something like this that updates in real time. It takes the first tap and measures the change in position since the last frame.
P.S. I didn't check this code so there may be a typo or two.
answered Jun 20 '10 at 01:35 PM
Hi im new to scripting and i like the sound of this and would help me a great deal but I have applied this to a gameobject and the camera but the script does't seem to do anything for me. All I want to be able to do is roll a ball to a character and this seems to be really hard to find out how to do.