02-15-2025, 12:01 PM
(This post was last modified: 02-15-2025, 12:04 PM by stevantosic.)
litdev, many thanks for sharing code! I would it study a bit carefully.
I agree and just have written a version of code which is slower (comparing previous got json data from server with the current one in case of not been updated) but more stable (repeat last action).
st
Quote:Also note that a consequence of this is that 'get' is not updated until an animation fully completes so if your delay isn't long enough then the get data will not be updated to the new position and you will be sending a command based on the position before the animation finishes.
I agree and just have written a version of code which is slower (comparing previous got json data from server with the current one in case of not been updated) but more stable (repeat last action).
st