Sweep test with compoundshapes

shoejunk
Posts: 1
Joined: Mon Dec 06, 2010 7:14 pm

Sweep test with compoundshapes

Post by shoejunk »

Is there a way to do a sweep test with a compoundshape? Do you have to call convexSweepTest on each of the child shapes or is there a better way of doing it?
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Sweep test with compoundshapes

Post by Erwin Coumans »

There is no implementation yet, so indeed performing the convexSweepTest on each child is the only solution at the moment.

You can check out one of the papers here http://graphics.ewha.ac.kr/projects/index.htm on how to optimize this case.
Thanks,
Erwin