Sweep test with compoundshapes
-
shoejunk
- Posts: 1
- Joined: Mon Dec 06, 2010 7:14 pm
Sweep test with compoundshapes
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?
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Sweep test with compoundshapes
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
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