iphone - Box 2d : What is the difference between a body and shape? -
how body different shape in box 2d. can't create body of shape? why required create shape , body differently ?
this basic concept, book/tutorial enough it! way box2d works, 1st have create body , attach b2world. , create shape object , assign body. body has properties mass, density etc. decides behaviour of body in world.
Comments
Post a Comment