Gravity Controller

Topics: Developer Forum, Project Management Forum, User Forum
Apr 20, 2011 at 6:43 AM

I'm wanting to create planetary bodies for a space game, such as planets and / or black holes.  Would I use the Gravity Controller to create these?  If so, does anyone happen to have an example of how it's implemented? 

Thanks in advance.

Developer
Apr 22, 2011 at 5:00 AM

Yes I believe you are on the right track with the gravity controller. Just check out the source code for it in the farseer project. I think one of the testbed examples uses it.