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 pawn with recorded inputs

Hi all, I want to create a "ghostcar" like pawn that replicates the saved movement of a playercharacter. Here is what I have now: -When I press a button I start saving my input axis from my playercontroller into an struct-array -on the second press of the button I stop the recording, create a "ghostPawn" at the location where I have started recording and feed my struct to it -At the ghost pawn I get the values from my struct-array and use them as inputs for the set throttle and steering of the vehicle movement.

my problem now: I am able to record the movement, spawn the ghostPawn and transfer the struct but the problem is that my ghostPawn does not move.

Do I need an IA controller to let it be moved or is there an other way to achieve my goals?

I have tried to work with a sequencer but I have no idea how to play the recorded sequence ingame so I moved to this idea now.

Here are my BPalt text:alt text

Greetings Evil_Fischi

Product Version: UE 4.14
ghostpawn.jpg (104.7 kB)
pc.jpg (152.2 kB)
more ▼

asked Feb 03 '17 at 04:44 PM in Blueprint Scripting

avatar image

287 8 15 20

avatar image Evil_Fischi Feb 06 '17 at 09:21 AM

Is there any way to steer the ai by inputevents?

If not I would need to create a spline and move my ghostcar along it....

(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