Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Network replication of item pick up: Client stops before item

I have problems replicating picking up an item with the default "third person character".

I have created a blueprint for a pick up item, which is a DestructibleComponent with a BoxCollision and a Cube. The item is set to "replicated" and all collision is set to "trigger". Picking up the item is implemented in "Actor begin overlap".

This works fine on the server and is also replicated to the client, but the client somehow thinks it is not allowed for the character to move through the item. I don't know why, there is no setting which prevents moving through the item. On the server the player can move through without problems, and the item is replicated...

If I move within the item on the server, on the client the character will stop before and then "jump into" the item. As soon as I move a little bit, the client will again jump outside the item and get back in as soon as the character stops on the server.

It seems that the client side prediction is broken here. How can I prevent that the client sees the item as blocking movement?

Any help would be appreciated.

Product Version: UE 4.13
more ▼

asked Nov 04 '16 at 10:44 AM in Blueprint Scripting

avatar image

216 9 16 22

avatar image lotodore Nov 04 '16 at 12:33 PM

I think I have found the cause of this issue, but I still don't understand. It seems that the "Set Actor Enable Collision" property of an actor is not replicated. If I disable collision on the server, it will still be "somehow" enabled on the client. This is weird. Is this a bug?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

The "Set Actor Enable Collision" property is not replicated, even if the actor is replicated. Since no one else commented on this, this seems to be intended behaviour.

more ▼

answered Dec 03 '16 at 05:48 PM

avatar image

216 9 16 22

avatar image lotodore Dec 19 '16 at 03:04 PM
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question