I’m trying to create a VR multiplayer game.
It is important that every player has a head attached and also two hands as MotionController.
So far I have tried that as soon as the playable Pawn is selected from the menu the event BeginPlay from the selected Pawn is triggered.
After that the event SpawnHead (Replication, Run on Server) is called. This event spawns the blueprint of the head at 0,0,0. Then the event AttachHead is called.
This event is a multicast and uses attach actor to attach the head to the pawn. On the server, this works fine, but not with the client. The server sees itself correctly, however the head of the client still stays in position 0,0,0 (and not attached to the Pawn).
The client, however, sees the head attached to the server and moving correctly.
I hope somebody can help me this time. I am starting to despair.
Incidentally, the same applies to the MotionController. Maybe someone can upload a suitable setup as an example as screenshot.
would be very grateful.