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"

Flipping the entire map

Hello all,

I've started learning UE4 about 2 months ago and the following is one of the experiments I want to imply in a project of mine.

I have a game where you control a cube in a rolling motion around the map (the objective is irrelevant to this question). I want to add a mechanism where you can flip the map 90 degrees (then walls will be floors). How do you think is it best to approach this mechanism? and is it possible if the map is big enough? Can I specify the pivot point around which the actors will all rotate? just tell me everything you think about such a mechanism.

Thank you :)

Product Version: UE 4.16
Tags:
more ▼

asked Jul 21 '17 at 09:31 AM in Blueprint Scripting

avatar image

Maxorian
9 4 4 5

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

1 answer: sort voted first

First way is to flip your character. But its very complicated, because requires some custom gravity implementation.

Maybe this one will be useful for you.

https://forums.unrealengine.com/showthread.php?85022-Blueprint-C-Advanced-Templates-Tools-amp-Plugins

Another way is to rotate whole map, or specific locations in map, but this requires dynamic setup for all objects and lightning. In this case, I think, it is better to generate map procedurally.

more ▼

answered Jul 21 '17 at 09:48 AM

avatar image

redbox
4.3k 81 19 104

avatar image Maxorian Jul 26 '17 at 08:26 AM

I flipped the character but didn't need to make custom gravity (I don't render gravity in my game I just add the few mechanics of gravity that I need manually to the actors). Had some problems with every node that had World (location, rotation, offset) but managed to replace those with a slightly different code that used local (location, rotation, offset). Thank you :)

(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