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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Grabbing back object after throwing - Multiplayer Blueprints UE4 4.21


I created a blueprint class of a bag that my characters can throw away and pick up again. I use Velocity, physics and gravity that I either set on (when throwing) and disable (when picking up).

I use a LineTraceForObjects for picking up.

However, even if both the server and the client see the bag at the same location it sometimes fails at picking them up. In that case I need to press the "Pick up" Key and random aim everywhere near the location of the bag until I finally can grab it. Just like if neither the server nor the client see the exact location of the bag.

Seeing that sometimes the bag would roll slightly differently on the server and the client, I decided to use a Box Trigger located on the floor which temporarily removes any velocity/gravity/physics and put them back on. Resulting in removing any rolling and having the exact same location of the bag on both server and client all the time.

Still the problem appears. I need to random aim near the bag to pick it up sometimes.

I set up all replication to what I believe to be the most reliable solution so I do not understand why is the problem still happening...

Product Version: UE 4.21
more ▼

asked Jan 08 '19 at 01:44 PM in Blueprint Scripting

avatar image

3 1 1

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

0 answers: sort voted first
Be the first one to answer this question
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