x

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"

In networked game, AttachActorToActor for other player not working?

So i have a very basic test setup with a FPS camera and a Sphere actor with physics and collision on it.

Locally i can pick up the ball and attach it to my hand socket, then drop the ball and add an impulse to throw it. Works great.

The issue comes in a multiplayer environment. The ball is set to replicate, and to replicate movement. Both the throw and pickup events are set to replicate.

When in a multiplayer setup we both see the ball get kicked around, but if the local player picks up the ball the remote player see's the ball snap to the local players hand then fall back down to the ground from gravity rather than staying attached to the local players character. The local player see's the ball attached to their hand as it should be. So things for the ball are now out of sync.

When the local player then throws the ball, the "fake" ball on the ground the remote player see's the ball immediately jump to the local players hand and be thrown as if it was there the whole time.

I'm at a bit of a loss as for whats happening, any insight would be much appreciated.

Product Version: UE 4.10
Tags:
more ▼

asked Dec 17 '15 at 06:54 PM in Blueprint Scripting

avatar image

FuzzeWuzze
1 3 4 4

(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