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"

Moving an actor with UNavigationSystem?

Hi all, new to Unreal and trying to create an RTS game as a personal project.

I would like to know how to go about implementing a navigation system similiar to how UNavigationSystem works for PlayerControllers but for actors. The top down example project describes basically the functionality I need, except instead of the player controller, I need to move an Actor.

I'm all setup to the point where I have the FVector destination, now all I need to do is figure out how to move the actor. Can UNavigationSystem be modified to be used with actors, or what do I need to create to be able to move actors in the same way? Is representing a controllable unit with an actor the right way?

Any guidance would be greatly appreciated!! (ps step by step guides would be great, still learning my way around!)

Thanks

Product Version: Not Selected
Tags:
more ▼

asked Feb 08 '15 at 02:27 AM in C++ Programming

avatar image

JitinDhillon
3 5 5 7

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

1 answer: sort voted first

What your probably talking about is probably an AI which moves interdependently, after you have clicked on a certain location but still recognizes its environment and might react under certain circumstances differently?

So a great starting point is here: https://wiki.unrealengine.com/Create_An_AI_Bot_in_Blueprint which preps you basically with the tools to create such a Unit that move interdependently and does as your require it to do.

Also a great thing is to read about how things work with the Controller between a Pawn etc.https://docs.unrealengine.com/latest/INT/Gameplay/Framework/QuickReference/index.html

Next of course of AI https://docs.unrealengine.com/latest/INT/Gameplay/AI/index.html

Hope it helps to get you one step closer

more ▼

answered Feb 08 '15 at 03:00 AM

avatar image

Martin Egger
388 17 10 29

avatar image JitinDhillon Feb 08 '15 at 03:05 AM

Much appreciated, I'll take a look and I'll comment again if I have any issues!

(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