Uhm. Well. Err.

Okay, so I had to trick the forum by clicking on "Quote", just so I got the complete line.

I then tried to check it and got confused about a billion times. I think there was a mistake, though, but I can't be sure.

I did a quick Replace on it on Notepad .... probably the same you did .... and this is what I got. I'm not putting it in code-tags since that will cut part of the line.


(sqrt( - pow(ball_ent.x,2) * (pow(ball_velocity.y,2)-pow(vel_p,2)) + 2*ball_ent.x*(ball_ent.y*ball_velocity.x*ball_velocity.y + my.x*(pow(ball_velocity.y,2) - pow(vel_p,2)) - my.y * ball_velocity.x*ball_velocity.y) - pow(ball_ent.y,2)*(pow(ball_velocity.x,2)-pow(vel_p,2)) - 2*ball_ent.y*(my.x*ball_velocity.x*ball_velocity.y-my.y*(pow(ball_velocity.x,2)-pow(vel_p,2))) - pow(my.x,2)*(pow(ball_velocity.y,2)-pow(vel_p,2)) + 2*my.x*my.y*ball_velocity.x*ball_velocity.y - pow(my.y,2)*(pow(ball_velocity.x,2)-pow(vel_p,2)) ) - ball_ent.x*ball_velocity.x - ball_ent.y*ball_velocity.y + my.x * ball_velocity.x + my.y*ball_velocity.y )/(pow(ball_velocity.x,2)+pow(ball_velocity.y,2)-pow(vel_p,2))


Huh.

I assumed:

s_b = ball_ent.x
s_p = my.x
v_p = A positive number holding the length of the velocity-vector of the player (i.e., how fast can he run)
v_b = ball_velocity.x

If its not working, it might be because one of those values is wrong...

(or maybe we're leaving acknex variable-range)

No idea if its true, no idea if its going to work. A computer actually solved that mathematical line for me. I only thought up the approach.


Perhaps this post will get me points for originality at least.

Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!