This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-05-09 18:02:47

berberberber
Scratcher
Registered: 2012-03-08
Posts: 1000+

Momentum Transfer

title says it all.


http://i47.tinypic.com/2iaa73k.png

Offline

 

#2 2012-05-09 18:19:44

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Momentum Transfer

Store the velocity of one item, when it hits the other sprite, set the velocity to 0 and set the velocity of the other sprite to the original velocity of the original sprite.

That's the only thing I can think of  tongue


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#3 2012-05-09 18:27:53

amcerbu
Scratcher
Registered: 2009-07-21
Posts: 500+

Re: Momentum Transfer

First of all, here's a very basic simulation of two balls colliding accurately (and transferring momentum from one to the other): http://scratch.mit.edu/projects/amcerbu/2182230

If that doesn't answer your question, give me a bit of time, I'll have to prepare a longer response.

Offline

 

Board footer