Subscribe to changes of spatial position/rotation

Hi,

I have a spatial that is moved by a ThirdPersonHandler.

I want to write the character position to the network.

Is there a way to subscribe to rotation/translation changes of a spatial?

Or do I have to query the position/rotation every frame, compare it to the last, then send it over the network?



Cheers,

Martin

wooyay said:

Is there a way to subscribe to rotation/translation changes of a spatial?

No, even the engine itself has to chance to detect that, currently.

hmm. I will have to extend the thirdpersonhandler, overwrite the update(time) function to detect changes.

OK, thanks