Observer Utility #846
Replies: 3 comments
-
Can you give me an example of the uses of such a feature please, thanks! |
Beta Was this translation helpful? Give feedback.
-
Calculation of visibility is expensive if thousand/ ten thousand of object in one scene. So i want to implement a algorithm and run it. The algorithm purpose is for calculate all visibility of all object to others. So i want to run algorithm only right before the fishnet's observe system tick the visibility check that run ObserveCondition which i will implement lookup result in it. How can i achieve this?? |
Beta Was this translation helpful? Give feedback.
-
FishNet automatically load balances observer rebuilds so unless you're
noticing a performance loss it could be best to not do anything.
But...
we do have a grid condition which is less accurate than the distance
condition but considerably faster.
You can also make your own observer condition and run calculations on it
whenever you want, ultimately controlling how often expensive logic is run.
You can set priority on conditions as well so others can be checked first,
and if failing block others from being checked.
…On Wed, Feb 26, 2025, 8:44 AM LeThaiThinh18021228 ***@***.***> wrote:
Calculation of visibility is expensive if thousand/ ten thousand of object
in one scene. So i want to implement a algorithm and run it. The algorithm
purpose is for calculate all visibility of all object to others. So i want
to run algorithm only right before the fishnet's observe system tick the
visibility check that run ObserveCondition which i will implement lookup
result in it. How can i achieve this??
—
Reply to this email directly, view it on GitHub
<#846 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGPJC3T5MGS2NVNGREHDITT2RXANTAVCNFSM6AAAAABXLFQBTGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMZSGYYTAOA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I want to implement a algorithm for calculate visibility for object observer right before observer manager check periodically. Is there any event/delegate i can add to? Can you add this feature if dont have yet
Beta Was this translation helpful? Give feedback.
All reactions