I have a few cubes and spheres in my game right now, which can be picked up/moved around/dropped, and I’ve been trying to get these actions to replicate. But I don’t really know how to tackle this and found very little information on it on the web. How should I approach this?
What do you mean by “Replicate” like do you mean by multiplayer replication?
PICK UP
Srv destroys actor you want to pick up. Spawns a replicant and attaches it to the character. Replicant actor must be set to replicate.
DROP
Srv detaches and destroys held actor. Then Spawns a replicant at desired location.
This is as basic as it gets.
Input action to pick up → Srv Pickup Actor [Run on Server]
Input action to drop → Srv Drop Actor [Run on Server]