When I spawn my items in, I have simulate physics. The code then checks if they have an owner (essentially meaning they are being held by a player), if not it then enables physics. However, the server does this before the clients load in and this causes the items to flung in random directions. It all works fine if I add in a delay of 2 seconds but then dropping items doesnt work. It does work if you have simulate physics enabled from the get go, but then if I disable it for some reason the item wont be attached to the player even though I use attach actor to component. Anyone have any way to synchronise simulate physics? Any workarounds? Any idea why the item wont attach?
The Items begin play code [This works, but I need to remove the delay]
The attachment code on the player controller [This works, but if I edit the item it doesnt]