Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

SAT Multiple Collision Response

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 mwkenna   Members   

143
Like
0Likes
Like

Posted 21 August 2012 - 07:24 AM

Hi Guys

Could someone please suggest the correct method of dealing with multiple collisions at the same time when using SAT? For example, I have a triangle that penetrates two other triangles after the initial movement is applied, just combining the two MTD resolution vectors and applying them to the player position seems to be incorrect.

A code example would help a lot.

Thanks,
Mark.

#2 LorenzoGatti   Members   

4364
Like
0Likes
Like

Posted 23 August 2012 - 01:19 AM

You should process the collision that occurs first: the triangle bounces off one of the two triangles and the other collision doesn't happen. Can you compute exact times of impact?

Omae Wa Mou Shindeiru





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.