cutting a body in half ???

Jul 29, 2011 at 10:09 PM

Hi all

 

Great time working with physics using farseer engine .... thanks for the engine

I want to cut a single body (circle body) or multiple bodys in the world  but I cant figure it out :( ... searched in the API but nothing found

 

there is a tool CuttingTool.Cut but this used in polygons .

 

and one more thing ..... is there any Explosion function that I can use ???

Jul 30, 2011 at 10:58 AM

take a look at this :)

http://farseerphysics.codeplex.com/discussions/261926

i think it's exactly what you need

Jul 30, 2011 at 12:58 PM

Hi des91iraq,

Concerning the explosion, in the demo you can download "XNA samples" there is a example in there that simulates explosions on breakable bodies.

Download it here:

http://farseerphysics.codeplex.com/releases/view/64108

Mal

Jul 30, 2011 at 9:05 PM

thanks MalakiG for the tip but I already implemented the explosion and the Implosion :)

 thanks HellGate for the link I checked it .... but it use polygons

I think the only way to do this is to convert the circle body to polygon ....