Forum Discussion
Trondle
Apr 14, 2025Copper Contributor
Shared by all clients Node
Is there a way to get a component that is shared by all clients and make local logic? For example, on trigger enter works great for testing if an avatar is inside a collider. However, on trigger enter is shared by all clients, as such if any avatar enters the trigger collider the interaction happens for all avatars. Is there a way to get around this?
1 Reply
How about:
- Use Physics.OverlapSphere or Collider.bounds.Contains in Update() or FixedUpdate() to manually check for overlaps
- Filter by player identity or tag
- Run logic only when conditions are met