Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Just Something Else About Circle Collision
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Dragon20942




PostPosted: Sat Feb 26, 2011 11:34 am   Post subject: Just Something Else About Circle Collision

What is it you are trying to achieve?
Now that I know how to do circle collision, is there a giant physics formula dictating the angles the circles bounce off of each other? I havent learned this in math, but i would like to know the relationships of angle, velocities, spin, etc. have on collision.
Sponsor
Sponsor
Sponsor
sponsor
mirhagk




PostPosted: Sat Feb 26, 2011 10:47 pm   Post subject: RE:Just Something Else About Circle Collision

For the most part it's really just about calculating the normals, and mirroring the velocities on the normals. (for a circle this is that line that connects the two centers of the cicle)

Of course I'm not too sure about collisions, I just normally bounce the angles off in the above way, it may not be 100% accurate although it seems to work. I can't tell you anything about spin, that I am clueless on.
Insectoid




PostPosted: Sat Feb 26, 2011 10:53 pm   Post subject: RE:Just Something Else About Circle Collision

Adding in spin requires adding friction and stuff, and takes pretty advanced physics. I'd not try it unless you're really comfortable with vectors and stuff.

Otherwise, just calculate the normal.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: