Send animation only to nearby players!
Options
For real-time data performance issues, I thought about sending data such as character animations only if the other player who will see the animation is close! It's possible? And how could I do it? Any suggestion?
0
Comments
-
Well.... in theory you could sleep everything in a script except its state of alertness, so to say. Here's some pseudo ...
float SleepDistance = 10f;
void Update(){
float DistanceToTarget = Vector3.Distance(transform, targetTransform);
if(DistanceToTarget > SleepDistance) return;0