Wednesday, February 10, 2010

Splitting a vector up?

Is this how you would do this? I want to transfer the velocity of a ball to two other balls, and depending on how close they are determines how much of the ball's velocity it will get.





Is this correct?





http://nullium.fileave.com/vectors.pngSplitting a vector up?
Actually your drawing looks good. What the last answerer missed was that there is a ';bar'; between the two ';recipient'; balls, which is collided with the incoming ball. Dividing up the incoming ball's momentum as you've proposed seems right (not having thought about it too deeply). The incoming ball would end up with no momentum and the two recipient balls would get a proportion of that ball's momentum (velocity) based on how close the collision point was to the ball. Ah but don't forget to DIVIDE VELOCITY BY TWO since there are two balls to receive the momentum but only one giving it (assuming equal mass for all balls involved).





I only realized that there was a ';bar'; connecting the two balls after reading your more recent question about collisions between a point and a line segment. Working on a game I would guess? I've done such things at the hobby level and have some ideas to answer your other question, I've added you as a contact so if you're interested we can talk about it.Splitting a vector up?
I don't understand your drawing, but I'm sure it is wrong.





Transfer of momentum from 1 ball to two others will depend on their location and on the path of the original ball, and the second ball.





.

No comments:

Post a Comment