Mar 6, 2011 at 9:41 AM
Edited Mar 6, 2011 at 9:44 AM
What range of density values are you using? What is your timestep? The engine works without CCD unless you are using insane values.
FPE 3.2 is actually faster than Box2D. The
tests I've made includes the whole testbed framework and results may vary from platform to platform and with different compilers, but FPE is definitely not slower than Box2D. The behavior between the two engines are identical.
As for the logo; yes, you can use it.
I update like so:
world.Step(Math.Min((float)gameTime.ElapsedGameTime.TotalMilliseconds * 0.001f,
(1f / 30f)));
I don't change any density values (they're all set to 1), I do play around with the mass value but I don't have anything which ever really goes above 20. Ideally I only want the chickens to have CCD enabled because they can move very fast at points.
Really good to know farseer is faster than Box2D, at least I know I'm not at a disadvantage here :D
First, let me tell you that I really like Chicks'n'Vixens!
Now, Are you using the official 3.2 release?
The problem we had with our WP7 game is that farseer CCD generates garbage and causes the garbage collector to hit a couple of times every frame.
In your case it won't happed that ofter, it depends on the number of fixtures.
Hopefully, the problem was located in a single function, so I wrote a pool to reuse the objects.
The problem was fixed in a later farseer build by replacing the objects with structs and a new algorithm.
You might wanna grab the latest source and check it out. Make sure you keep an eye for bug fixes until the official 3.3.
I use the 3.2 release, and yeah I don't like using CCD the way I do...