This project has moved and is read-only. For the latest updates, please go here.

Changes to FixtureFactory, BodyFactory ?

Topics: Developer Forum, User Forum
Dec 31, 2012 at 5:04 PM

Is there any documentation available to said changes? e.g. there is no FixtureFactory.CreateXXX() methods anymore, only AttachXXX methods. There are BodyFactory.CreateXXX methods tho. It seems to kinda work without Fixtures??




Jan 19, 2013 at 9:38 PM
Edited Jan 19, 2013 at 9:39 PM

The BodyFactory is the one you need in most cases. It is a much better representation of how the engine works compared to the old days (which resembled the old Farseer based on geometries).

Basically FixtureFactory was renamed to BodyFactory, and FixtureFactory now only attached fixtures to an existing body.