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"

Socket Replication

Hello guys,

I'm working on a multi-player 3rd person shooter on 4.6.1.

Im currently trying to make my AI actor rotate to face a player to shoot him in the face. Once facing the player i spawn a bullet at a position specified by a socket on the gun. When the server is looking the AI everything is working fine but if he is not looking the AI turn correctly but the position of the socket is wrong.

here is some pictures to illustrate my problem.

alt text

alt text

Thanks for your answers.

Product Version: Not Selected
server.jpg (24.8 kB)
client.jpg (32.4 kB)
more ▼

asked Mar 26 '15 at 12:03 AM in Blueprint Scripting

avatar image

1 1 2 1

avatar image alperenakyuz Mar 26 '15 at 12:21 PM

Are you using the get world location node for the socket?

Also sending screenshots of the blueprint would help us understand more about your problem.

avatar image Joeinlakesh Mar 26 '15 at 09:05 PM

No i'm using the Get socket location node from the skeletal mesh as shown here

alt text

Basically when the AI fire it call this event that use the socket location to spawn the bullet

server fire.png (108.6 kB)
(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