Game Development Community

How to give turn/spin to the Ball

by Playware · in Torque Game Builder · 04/12/2007 (2:40 am) · 3 replies

Hi,

I am doing top down view game. In this I have to throw the ball from Bottom to upper side screen.
Now during ball movement towards up , I want to give littile bit turn/spin to ball either left or right side randomly.

Ball has its own speed and jet power (i.e with what pressure its thrown). So my question is how can I give this type of turn or you can say Spin something like this.......(I am tring to draw)


. .
. .
. .
. .
. or .
. .
. .
o o
. .

Any help is Appreciated..

Thnx.

#1
04/12/2007 (2:52 am)
I have no idea what that diagram is trying to say to me. 0_o

Either way, you could add small impulse forces to the ball as it travels through the air and increment it's angular velocity to give the appearance that the trajectory is based somehow on spin. I'm sure there are other ways to do it, but that seams like the easiest.
#2
04/13/2007 (12:18 am)
Hi,

That is my bad. I couldn't draw my requirement. You can take a look of my idea here

img338.imageshack.us/my.php?image=ballpathea2.png
In this way I want to turn the Ball after a while it go straight.


Any idea.....................thnx.
#3
04/13/2007 (12:21 am)
Hi,

The Draw url is

http://img338.imageshack.us/my.php?image=ballpathea2.png


thnx