1

Googling all day could not give me this answer. I have to make an irregular terrain by using b2EdgeShape OR b2ChainShape as it is explained in the box2d manual which is not updated yet because these entities does not exists anymore in the box2d library.

What to use in place of these things?

Any suggestions?

Thanks

rptwsthi
  • 10,094
  • 10
  • 68
  • 109
n.by.n
  • 2,458
  • 22
  • 31
  • what you want to achieve with these shapes? – rptwsthi Jun 22 '12 at 06:55
  • I have to create irregular terrain or you can say irregular ground. All the help I could find on internet regarding this matter uses b2EdgeShape. By reading the box2d manual I had figured out that b2ChainShape will also help me in this regard but both of these items are not found in the latest box2d library. – n.by.n Jun 22 '12 at 07:41
  • chech if it helps.. http://www.raywenderlich.com/3888/how-to-create-a-game-like-tiny-wings-part-1 – rptwsthi Jun 22 '12 at 07:55
  • i've just downloaded the latest box2d version from http://code.google.com/p/box2d/ and these classes are present there. and I don't see anything about deprecation in comments – Morion Jun 22 '12 at 07:58
  • Edge shapes were added after v2.1.2. The latest official release is v2.2.1 and currently svn is at v2.3.0. What version are you using? http://www.iforce2d.net/b2dtut/gotchas#whichversion – iforce2d Jun 22 '12 at 10:55
  • 1
    b2PolygonShape replaced all those specialized shapes. – CodeSmile Jun 23 '12 at 10:25

0 Answers0