Farseer Physics Engine 3 and CCD

Hi, I use FP3 to make a game based on something like a car firing bullets and I had some problems involving the CCD.

The car's weels were snagging on the edges or curves of the "ground" 😠 . I tried to disable CCD, but then the bullets were tunnelling through the ground... 😢

So I decided to get rid of these problem by disabling the CCD, but only on the car's weels.
To do that, I created a new flag 👿 and a property to access it. When the new "IgnoreCCD" flag is set, the related body will be ignored by the CCD solver (Toi flag not activated)
I then had another problem : without CCD, the car's weels were tunneling through other dynamic bodies.
So I added a second flag : "IgnoreStaticCCD" and a property to access it.
This second flag disables CCD for the related body, but only when the other body is static. If "Isbullet" is set, CCD with dynamic bodies will be enabled, even if my flag is set.

Now, my car can go fast without snagging, and I can use CCD for my bullets in the same time.

I posted these mods on the FP3 forum, but Genbox suggested me to post them here, so it's done, now 😀
Farseer Physics Engine 3.0 is based on Box2D.XNA and not Box2DX.

Currently version 3.1 is out and it is a port of Box2D up to revision 112 - i.e, just before the substepping CCD solver were implemented in Box2D.

Version 3.2 is about to be released and it contains Box2D revision 141 (the newest at the time of writing). The changes were ported by myself and Matthew from the project since Box2D.XNA is falling a bit behind.
I think this RogerBlake guy is a bot. I believe, genbox, we are looking at the first generation of bots that actually attempt to contribute something to posts. D:

EDIT: Nope, this bot actually takes paragraphs relevant to the subject and uses a thesaurus to replace certain words with other words. Impressive, though.

-P
Now, my car can go fast without snagging, and I can use CCD for my bullets in the same time.
gclub royal

Original thread: https://box2d.org/forum/viewtopic.php?t=5698