Page 1 of 1

b2LoopShape was removed in Box2d 2.2.1

Posted: Thu Mar 28, 2013 5:06 am
by vkreal
A very newb question, b2LoopShape was removed in Box2d 2.2.1; not sure what to use instead? Any suggestions would be greatly appreciated!

Thanks

Re: b2LoopShape was removed in Box2d 2.2.1

Posted: Fri Mar 29, 2013 2:45 am
by iforce2d
You can use b2ChainShape, which has two options: CreateLoop, and CreateChain. They are almost identical except that one of them closes the gap between the first and last vertices.

Re: b2LoopShape was removed in Box2d 2.2.1

Posted: Mon Apr 01, 2013 7:57 pm
by vkreal
Awesome iforce2d, it works!