Hi there

I hope I am in the right forum for this. I am searching the web for some time now to find the right piece of code for this two dimensional numerical vector movement problem.

At time 0 I have 2 movement direction vectors of 2 objects which are unaffected by themselves.

At time 1 the vector then start to attract themselves with some given force F and movement from time 0 should be numerical implied in time 1.

So in math it looks like this:

S_1n = W_1n

S_2n = W_1n + W_2n + F_1n

with

-S_1n beeing the way of the n object makes at time 0

-S_2n beeing the way of the n object makes at time 1

-W_1n beeing the direction vector of the n vector

-F_1n the attraction of the n vector

Thank you in advance for an answer.

Philipp

Tweet This+ 1 thisPost To Linkedin