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

Default Constructor for Body


Provide default constructor for Body.
It's necessary for serialization, reusing objects, etc.

This will enable to create a body and add it manually to a World.
The constructor that takes a world instance can be removed completely, the functionality is already duplicated by BodyFactory.CreateBody(...)


icefoxen wrote Apr 28, 2015 at 8:30 PM

Yes please. It would be very nice to be able to create a bunch of objects all at once (say, loading a level), specify their position and velocity and such, and then slam them all into a world at once.