khoi
khoi
NNormal
Created by khoi on 4/10/2025 in #🤝ask-a-question
Avatar Physics Interactions
I'm building a VR game where you can push/hit someone and make them move (similar to Orion Drift ball where you can push someone and make them fly backwards). What is ideal architecture for this? Thinking about using an RPC to send a rigidbody.AddForce event to your client when I intersect your avatar on my side. Considered having your local avatar have networked physics on them but not sure that makes sense from a multiplayer PVP perspective (eg the person hitting should be the source of truth). So proposal is: I push your avatar on my client, trigger collider event happens, then it sends an RPC to your client which does the physics on your side. Your avatar maps to your rig, which just got pushed on your client, so everyone sees you move.
34 replies
NNormal
Created by khoi on 2/8/2025 in #🤝ask-a-question
RealtimeComponent has been replaced with RealtimeComponent<TModel>
No description
20 replies