Hello,
is possible set the body Serializable/Externalizable? it can be really useful for network game
I think the externalize is the solution, because body contains world, ControllerEdge, XForm, Sweep, Vec2, Shape, JointEdge, ContactEdge, and Object(userdata and idlock).
XForm, Vec2, shape and userdata is easy to be serializable (just a check for valid userdata, if serilizable then send it^^).
idlock and world has to be created on the receiver.
ControllerEdge, JointEdge, ContactEdge have to be recalculated on the reciver?
what about Sweep?
maybe i can only send xform and a "shapes container" and then recreate the body on the receiver?
off topic: what you think is the best solution to solve the asynchronous body creation due to network lag?