On 05/05/2013 at 23:44, xxxxxxxx wrote:
Hello programming brethren,
I have an object data plugin that reads data off of other object data plugins to do calculations on itself. The problem is, it seems that when the other objects are in motion, it highlights how the main object is doing calculations on itself before getting the correctly updated data from the other objects. So, the net effect is that it is a very glitchy result as sometimes their calculations come in before or sometimes after. And when I scrub the timeline, the calculations are always a frame off until I let go of the scrubbing and they update and "pop" into place.
SO. How can I force the other objectdata plugin objects to do all their computations first before my main plug-in moves itself based on those numbers? Instead of doing calculations that are sometimes based off of how they were a frame ago?
Is there a priority queue?