#PredictedRPC

4 messages · Page 1 of 1 (latest)

sharp lake
#

Called localy, but would it be possible to add PredictedRPC, (more like PredictedPC), its role would be, that its call gets Replayed while NetworkBehaviour is Reconciled.

Now, its kind of abstract but imagine your player controller gets external influence that may not happen again (because there is no more extern influence), yet player still gets reconciled. External event could be bomb explosion w/ force or damage, doesnt matter - you can use Predicted(R)PC there.

#

As for R - "Remote" inside RPC, I think it could still apply, a Observer/TargetRPC could be Predicted too I believe.

#

I did hit a usecase in the past, where such concept could be useful, but honestly I forgot what exactly. I believe it was "enter the vehicle" case.

worn nexus
#

Realistically if something was done inside the replicate loop it would be sent to everyone and would be rolled back anyway, no rpc needed