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"

Move Character to location in multiplayer

Hi i wanted to know what is the best way to make player move to a location like AI ? the situation is that i want player get in to a car so when he press F i want the Character move to the location near the door open the door and .... but i cant use Simple move to location or Actor and when i use move component to location its very laggy on other client when i set it to replicate to server

Product Version: UE 4.21
Tags:
more ▼

asked Feb 12 '19 at 10:25 AM in Blueprint Scripting

avatar image

EZEL3050
5 1 1 4

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Unfortunately, outside CharacterMovementComponent, you have to implement something similar to interpolate character movement between network updates.

Here's a very good article about smoothing player movements on a network: Entity Interpolation

Some details how CharacterMovementComponent implements its replication: CharacterMovementComponent (Networking and Multiplayer)

more ▼

answered Feb 12 '19 at 10:56 AM

avatar image

Chyros
1k 6 3 6

(comments are locked)
10|2000 characters needed characters left
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