Copy of player object
Posted: Sat Dec 26, 2015 8:51 pm
Hi again,
I need to be able to access the player object as at a previous frame in the engine. I assume something like this is not possible as the python bindings simply communicate with the server (which I cannot 'cache' so to speak).
Would my best bet just be to create another class that has a constructor which I pass a player object to, it runs the methods that will return the data I will eventually need and use that sort of like a cached last-frame version of the player?
I need to be able to access the player object as at a previous frame in the engine. I assume something like this is not possible as the python bindings simply communicate with the server (which I cannot 'cache' so to speak).
Would my best bet just be to create another class that has a constructor which I pass a player object to, it runs the methods that will return the data I will eventually need and use that sort of like a cached last-frame version of the player?