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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

What is the simplest movement possible?

I've recently made an A* Pathfinding system in blueprint, and I am currently trying to use this as a base for building a tactical, tile-based, turn-based game. One of the first things I need is to have a pawn follow the path I have generated in my pathfinding system. I've found a plethora of methods for moving pawns and characters, but they are mostly centred on games using physics and navmeshes, which are unnecessary in my game. I'm looking for the simplest movement option possible for moving a character (ideally a pawn) in straight lines from node to node in my generated path. Physics, collision and anything else is not needed, and I don't want a navmesh. What would be the simplest and most efficient method for getting the result I want?

Any help is appreciated.

Product Version: Not Selected
Tags:
more ▼

asked Aug 23 '14 at 11:30 PM in Blueprint Scripting

avatar image

Monokkel
152 7 10 21

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

1 answer: sort voted first

SetActorLocation and SetActorRotation, which you can call on tick, adding to position on every tick. Just remeber to scale all movement to delta time.

more ▼

answered Aug 23 '14 at 11:57 PM

avatar image

Shadowriver
35.7k 925 168 1104

avatar image Monokkel Aug 24 '14 at 10:23 AM

Thanks, that's exactly what I was looking for. I may end up using characters and navmesh anyway, though, as I might want to use some of the additional functionality later on. I'm considering having tiles in different elevations, and I imagine using actors and navmeshes will make it easier to have characters move up steps (instead of gliding through corners).

(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