Announcement

Collapse
No announcement yet.

Spawn and attach Actor to client

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Thanks man. This is a nice workaround.
    Now the server can see the client and his actions and vice versa. But unfortunately I am now facing the next, similar problem.

    If the client tries to pick up (grab) the VRPickup Cube the server don't recognize its movement and change of position.
    If the server grabs and place that cube it is automatically updating to clients...
    I tried to solve the problem by my own but it don't work.

    Explanation:

    In motion controller pawn: When a player hit the Trigger of one of the motion controllers the Event in Pawn will trigger.

    TriggerPressed -> Switch has Authority -> [REMOTE] -> (RunOnServer)ClientTriggerPressed -> "Standard VR Grab functionality" will start...

    TriggerPressed -> Switch has Authority -> [AUTHORITY] -> (Multicast)ServerTriggerPressed -> "Standard VR Grab functionality" will start...

    The PickUpCube is set on replicate, replicate movement and run on client.
    Also in Component tab "Component replicate".

    I don't know why the server can't see the changes of the client...

    I hop you can help me.



    Comment

    Working...
    X