Physics sleeping / lag
Please take a look at the video - When the hit actor via trace line is grabbed by the server (I've not done the client replication here as the server will handle everything) - While the actor is 'grabbed' around, if the server stays in one place, the physics handle lets go/sleeps until the position is updated.
Does anyone know/have tricks on how to make the dragging replication smooth? - And for the actor not to hit the ground due to there being no position updates?
Thanks for taking a look!
I got the same problem today.
The only workaround I found was to disable the gravity by default on the component you grab.
I also disable gravity when the PhysicsHandle grab the component and enable gravity when it drops the object.
It's not a clean solution but for me it works. If someone knows how to fix it properly I would appreciate.
answered Feb 10 '18 at 11:00 AM
Ok, so I was playing with the below values - "Min Net Update Frequency", I changed it to 100 which eliminates the replication 'lag'. These values are located within the actor you're trying to grab.
I feel that this isn't the optimal route to take, being that the server may strain. Does anyone have an alternative?
Also, when you stay still, the grabbed item continues to drop and hit the floor. Does anyone know how to resolve this?
Any brainstorming would be appreciated.
Follow this question
Once you sign in you will be able to subscribe for any updates here