I'm obviously not a mathmatical genius xD...
ball_speed = 0.7
if target_lock!=-4
{
pitch = arctan2(point_distance(x,y,target_lock.x,target_lock.y),point_distance(0,z+2.5,0,target_lock.z))
zpeed=sin(pitch)*ball_speed
}
///in later step event
z+=zspeed
Someone already suggested that I use arctan2() but needless to say that didn't work.
I think it's obvious what I'm trying to do and the speed should be adjustable accordingly. >.< Helps Plz~! <3 u all in advance.



Find content
Male
