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"

Hex Based Grid questions for game (nav mesh?).

We have a game we would like to base off of a hex based grid. I'm curious how we could represent this and still benefit from what UE4 provides.

Our initial thought is to make a data structure that a blueprint inherits from and provide functions for accessing/altering the grid tiles. But then it struck me that with UE4 having nav meshes and nav mesh links, could we piggyback our data structure on that somehow, while still constraining our movement to the hex grid?

-Joe

Product Version: Not Selected
Tags:
more ▼

asked Mar 27 '14 at 10:13 PM in C++ Programming

avatar image

joessu
352 26 34 43

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

1 answer: sort voted first

This sounds like what you want it's on the TODO list. https://answers.unrealengine.com/questions/11690/pathing-via-nodes-or-some-such.html

If you know any C++, you might consider using a little C++ and A* instead.

I rolled my own since I wasn't aware that boost had an implementation. I'd try boosts's implementation and see if it works 'well enough.' It should.

http://stackoverflow.com/questions/2107601/fastest-cross-platform-a-implementation

more ▼

answered Mar 28 '14 at 12:45 PM

avatar image

RalphTrickey
271 5 4 217

(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