Hi guys!
Anyone out there sitting on some replication knowledge? I am trying to solve a problem of picking up objects but I have bugs, I don’t know If I am doing this right.
So the order of operations in grab event in my character_BP is:
-
Check to see if we are holding anything.
-
If no then cast to the blueprint we want to pick up.
-
If the cast succeeds then set its physics to off.
-
Attach the component to my holding point component.
-
Store the held BP as a reference.
-
Set holding an object to true.
-
If I am holding an object, then set its physics on.
-
Detach the actor.
4.Clear the reference. -
Set holding an object to false.
This works if I set the grab event not to replicate but for some reason I can’t pick up the same object again that I drop.