I was thinking about a game concept which features physics and a rotating room, so I asked to myself how to make a rotating room with Box2D, and what is the best way to do it. These are the three ways I tried. 1 – “Manually” rotating a static room In my first attempt I built a static room with a compound object (see the theory of compound objects in this post), then I rotated the object at every frame. This is the source code: [...]
Read more: Creation of a rotating room with Flash and Box2D
No comments:
Post a Comment