JuanLouTech
JuanLouTech
NNormal
Created by JuanLouTech on 5/30/2024 in #🤝ask-a-question
What is the best way to keep in sync a variable in the form of float array?
I need to keep in sync a float array of two values in a custom model. I need this to go always together since one of the values is a very precise timestamp that I need to keep associated with the other one.
25 replies
NNormal
Created by JuanLouTech on 5/16/2024 in #🤝ask-a-question
Model is "frozen" (stops updating) when owner leaves. How to avoid this?
This happens with RealtimeTransform on rigid bodies and also with custom models. It would be nice to automatically reassign ownership when user leaves to keep it controlled by someone.
9 replies
NNormal
Created by JuanLouTech on 4/23/2024 in #🤝ask-a-question
How can I trigger a change on a remotely owned model and get it synced on all clients?
Hi everyone! I need to trigger a change in a remotely owned model (I need to be able to trigger a function on a remote user and get it synced for all clients. I want the players to be able to "push" other players). I tried creating a model with a trigger (classic int hack) to synchronize the action on all clients and adding this model to the player prefab so when the trigger changes a function is called on that prefab instance, but this did not work because the player that is trying the pushing is not the owner of the model in the other player, so the model is not updated.
20 replies