2
\$\begingroup\$

I want to create a windmill in Farseer, but I don't know how to combine the 3 windmill sails bodies to one body. During gameplay, the sails could get destroyed. For example, if another body hits one of the sails, then this sail will be destroyed, separating the sails. This means the parts should be able to come apart again.

I'll use the following sprites to create the windmill:

Windmill pole Windmill sail Windmill ball

The final windmill should look like this:

enter image description here

What method should I use to combine these together, but have them able to separate when destroyed?

\$\endgroup\$
3
  • \$\begingroup\$ What is the problem you're having when you try to make them one body? \$\endgroup\$
    – House
    Jun 19, 2014 at 23:21
  • \$\begingroup\$ If I use one sprite for the three windsails, then it is impossible to delete one of the sails. Because if something hits a sail, then the sail should get deleted. Is it possible to combine Windmillsail1, Windmillsail2 and Windmillsail3 to one body or attach the three bodies together? I don't know how to do that. \$\endgroup\$ Jun 20, 2014 at 8:01
  • \$\begingroup\$ Can't you just attach wings via joints, and then destroy joints dynamically? \$\endgroup\$
    – Den
    Jun 20, 2014 at 19:28

0

Browse other questions tagged .