Hi, I'd like to buy it but I have a few questions.
Is it possible to set instances to "Static" via events?
Is it possible to sort instances not every tick, but every X seconds for better optimization?
Hi Simple Games :-)
I am from the ForConstruct.com team and I’d like to answer your questions.
So about the type (static or dynamic) - yes, this can be switched with events.
Regarding the sorting other way than every tick - to be honest, I don't think this is really necessary. The whole idea of the EasyIsometric addon is to optimize Z sorting ;-) The behavior changes the Z order only for the objects that changed their Y position in relation to other objects.
For static objects it never changes (unless forced with Refresh action). Only the dynamic ones change their Z position and only if needed.
However, if you reaaaalllyyy want to do it the way you described (so for example you want to "sort" the objects every X seconds, instead of every tick), then theoretically you can set every object as Static and use Refresh action every X seconds for desired objects.
I haven't tested such a solution, so it's hard to say what would be the result. It depends on the case. But if you use Refresh action on a huge amount of objects, then the result could be opposite to what you want to achieve, because this means you would immediately change Z order for all of the indicated objects in just one tick. Dynamic type doesn’t mean that the object is moved in Z order on every thick, but Y position is being verified.
Generally speaking, it depends on the case, but honestly, dynamic objects will work much better. Unless you want to have like 2000 dynamic objects with several behaviors, that constantly and rapidly change their Y position.
If you still have doubts and would like to discuss a little bit more detailed example, I’m ready to help :-)
Best regards