Player position updates

Hey guys,

I have a simple server set up by following the documentation. The issue I’m having is I’m not quite sure how PyDatagrams work. I have experience working with sockets in JavaScript, where you can send entire objects to the server and have the server send them back. I am looking to do this, I want to send an actor to the server and have the server send that out to all of the connected clients. Is this possible in python with Panda3D?


If this isn’t possible I’d like to know how you can update the positions of actors using some sort of networking engine.

I really like that idea of telling the server what action a character has done, for example if a character moves forward, the server sends to all the clients that the character moved forward and then the clients figure out the position from that action. I’m going to give it a try, thanks.