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

WorldSerializer and controllers

Topics: Developer Forum, Project Management Forum, User Forum
Jun 18, 2012 at 1:39 AM


I am having a bit of an issue. I am using the WorldSerializer to serialize the world and it's components and sending the file over network to newly connecting players in my game's multiplayer mode. However, it seems that WorldSerializer doesn't serialize Controller objects of any kind.

In my game, I am using a lot of GravityControllers for various key parts, and not having them serialized causes the newly connected player to not-to-have any sort of gravity, which as you might imagine, is a bit problematic.

Has anyone made a workaround for this or am I missing something about the WorldSerializer class that might do this?