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

Default Constructor for Body

description

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(...)

comments

icefoxen wrote Apr 28, 2015 at 7: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.