This project has moved. For the latest updates, please go here.

Issues with ControllerFactory

May 17, 2009 at 12:38 AM

Hi again,

Am I mistaken, or is the ControllerFactory a complete copy of SpringFactory? The two files appear identical, and thus there seems to be no factory available for creating the controllers contained in FarseerPhysics. This may be an unfortunate mistep so I thought I'd let you know.

Thanks for everything,


May 17, 2009 at 2:20 AM

Yup the controller factory seemed to be a placeholder and is gone in the source control version.

May 17, 2009 at 9:19 AM

The ControllerFactory was only in charge of creating Springs (Springs were based on controllers back then) and since Spring and Controller logic was split up into two different structures, I renamed ControllerFactory to SpringFactory.

There is a ComplexFactory for creating complex objects like Path, chains, ropes and the like. If a factory for controllers is needed, I will of course create one.