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"

Record players movement

I want to be able to record all of the players movements and then later have an AI act them out. Is there a way to record the path and then have the AI follow it?

Product Version: UE 4.9
more ▼

asked Nov 06 '15 at 05:20 PM in Using UE4

avatar image

162 24 29 34

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

1 answer: sort voted first

Yeah, i think you can, all you have to do is create a list of transform, then add player transform to that list each second or so, then when player are done, you can paste that list to the AI and make them to follow the route. You can also save the transform list to a save game so that you can use the same player movements later. Kinda like the replay function of the example game project Shooter game. All the extra movement, such as jumpimng, shooting, climbing,.... can also be included by replace the list of transform with a list of custom structure.

more ▼

answered Nov 07 '15 at 08:13 AM

avatar image

874 27 18 48

avatar image VoidGoat Nov 07 '15 at 04:41 PM

Thanks I figured it out. I used add movement input instead and recorded the axis vaules.

avatar image Kd4sh Oct 11 '16 at 04:10 PM

Hello, I want to do the exact same thing that you ask but I can't find and can't do something that is working, can you show me your process to record the movement input and replay everything to a pawn?

(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