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\$

closed as off-topic by MichaelHouse Jun 19 '14 at 14:36

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about debugging a problem in your project must present a concise selection of code and context so as to allow a reader to diagnose the issue without needing to read all of your code or to engage in extensive back-and-forth dialog. For more information, see this meta thread." – MichaelHouse
If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ What is the problem you're having when you try to make them one body? \$\endgroup\$ – MichaelHouse Jun 19 '14 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\$ – Homer_Simpson Jun 20 '14 at 8:01
  • \$\begingroup\$ Can't you just attach wings via joints, and then destroy joints dynamically? \$\endgroup\$ – Den Jun 20 '14 at 19:28