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"

Replicate movement on BlueprintVehicle after custom Actor Spawn and Possess.

Hello Guys, I have a question about “replication movement”, I have the following case.

  1. A GameMode with a “PrePawn” inherited from simple Pawn, only to have a simple camera on screen.

  2. Then I spawn a “VehicleBlueprint” manually from Advanced Vehicle template, all in server side. The Spawn is ok from both sides, server and client to server call.

The problem is, I can’t move the car on remote client side when I spawn the car manually, I think I’m missing some configuration because if I set the “VehicleBlueprint” via DefaultPawn on GameMode the movement works fine.

Someone have any idea to activate the movement on remote client side?

Thanks in advance!

Product Version: Not Selected
more ▼

asked May 07 '15 at 09:06 PM in Blueprint Scripting

avatar image

31 3 10 14

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

1 answer: sort voted first

After you spawn the car, you must use the player controller and possess the car if not you don't have any right to control the car because car owner is server. On client side you can only control Pawn that client owns or player controller possessed.

When you set DefaultPawn on Gamemode it already do that for you when you start playing.

more ▼

answered May 08 '15 at 01:35 AM

avatar image

Duncan Dam
3.1k 121 50 164

avatar image ganoncl May 08 '15 at 02:35 AM

Hi Duncan, I'm actually possessing the "VehicleBlueprint" with the Playercontroller on Server side for both Players.

(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