Solved it!

This is the solution i've came up with:
(it can help somebody with the same problem)
(fell free to correct my newbie errors I appreciate it )

vec_set(temp,GolfBall.x);
vec_sub(temp,BallHeader.x);
vec_to_angle(BallHeader.pan,temp);

phent_addvelcentral(GolfBall,vector(-temp.x*strokepower/50,-temp.y*strokepower/50,0));

strokepower it's "clamped" between 0 and 100.

Thanks for the tips flits

Last edited by ribsribs; 03/19/08 22:02.