• FEATURED

View more

View more

View more

### Image of the Day Submit

IOTD | Top Screenshots

### The latest, straight to your Inbox.

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

# Continuous collision detection for rotated bodies

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.

9 replies to this topic

### #1nikitablack  Members

Posted 15 April 2011 - 05:18 AM

Hello. SAT excellent in finding TOI of convex NON rotating shapes. I wonder - is there any technique to predict collision for rotated bodies?

### #2/ owl   Banned

Posted 15 April 2011 - 05:47 AM

http://www.gamedev.n...sion-detection/

This post in particular
I like the Walrus best.

### #3nikitablack  Members

Posted 15 April 2011 - 06:27 AM

Thanks, owl, but the question was not aboute SAT. For exaple I have 2 static bodies, i.e. their velocities is 0. But they can rotate and they can collide at some time. So how can I get this time?

### #4/ owl   Banned

Posted 15 April 2011 - 07:06 AM

Thanks, owl, but the question was not aboute SAT. For exaple I have 2 static bodies, i.e. their velocities is 0. But they can rotate and they can collide at some time. So how can I get this time?

http://www.gamedev.net/topic/586690-collision-detection-for-rotating-objects/

I like the Walrus best.

### #5nikitablack  Members

Posted 16 April 2011 - 01:21 AM

Thanks. Sadly - but see the only way - decrease time steps.
Also I can do the following - given two line segments I can predict their TOI in current frame even if they moving with rotation. But math that I use - is toooooooooooo complicated - there're tons of sin/cos, so for real time sim with many objects this method is not suitable.

### #6/ owl   Banned

Posted 16 April 2011 - 01:31 AM

I like the Walrus best.

### #7wildbunny  Members

Posted 16 April 2011 - 04:29 AM

You can use conservative advancement, or cheat and use closet points combined with speculative contacts - about half way through the article I talk about rotation

### #8nikitablack  Members

Posted 16 April 2011 - 05:33 AM

Yeah, I've read your article, but I'm true dummy and I didn't understand a half. I hope I'll dig it someday. Thanks.

### #9wildbunny  Members

Posted 20 April 2011 - 07:55 AM

Yeah, I've read your article, but I'm true dummy and I didn't understand a half. I hope I'll dig it someday. Thanks.

I've just published a new one on collision detection which covers continuous rotating bodies:

http://www.wildbunny.co.uk/blog/2011/04/20/collision-detection-for-dummies/

Hope its useful!

Cheers, Paul.

### #10nikitablack  Members

Posted 21 April 2011 - 12:26 AM

Oh, man, you're wonderful )))! Thanks.

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.