Union fixtures

Topics: User Forum
Jun 13, 2011 at 6:26 PM

is it possible, like shown in YuPengClipper example, union multiple rectangle bodies/fixtures to one one body? How it could be done?

Below is an example of my game project, and how i have farseer working with tiledlib. So I am looking for a solution to make bigger fixtures instead of 1per tile, as shown in the picture.

Jun 15, 2011 at 7:09 AM

There are ways, but nothing that is built into Farseer. Genbox has pointed out this link which would show you how to implement your own combiner: http://www.gogo-robot.com/2010/02/01/converting-a-tile-map-into-geometry/.

Coordinator
Jun 15, 2011 at 7:12 AM

I think it was Matthew Bettcher that posted that link. He has done some work in that area before (also related to the Marching Squares algorithm found in FPE). Try searching the forum, he has answered quite a few posts related to this.