Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Aug 12, 2007 8:16 pm 
Offline

Joined: Sun Aug 12, 2007 8:10 pm
Posts: 4
Hi,
I am currently working at my own 2D physic engine. I've implemented GJK for the collision detection at the moment but how can I handle rotational movement?
I've read that there is a method which use the GJK-algorithm for it but I didn't found any papers about it.
Maybe there is another method which is easyer to implement or faster.

Hopefully that you can give me some helpful tips:
Thank you :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 16, 2007 5:08 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3744
Location: California, USA
GJK only deals with distance calculations between convex objects at a certain point in time, given their transform. There is no motion involved in GJK, or other interference detection / discrete collision detection.

If you meant you want swept collision detection (aka continuous collision detection), you'll need something else, like conservative advancement. This takes motion like translation and rotation into account.

See also:
http://graphics.ewha.ac.kr/catch/
http://graphics.ewha.ac.kr/fast/
http://www.continuousphysics.com/Bullet ... ection.pdf
or the papers at http://www.dtecta.com/interesting/
Continuous collision detection including rotation using GJK is implemented here and also in above Fast library and upcoming Catch (although using Swift++, instead of using GJK)
Thanks,
Erwin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group