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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Two or more worlds loaded at once?

My game requires players to be able to move around inside a spaceship as its flying around, the interior of this ship is quite complex, so to save on dragging around the full ship interior with the rest of the ship (thus performance), id like to have my interior separate from the map that the exterior hull is flying around in.

Is this possible?

alt text

naturally actions inside either of these worlds need to affect the corresponding ships in the main world

Thanks :)

edit: I have looked into level streaming, but i dont think this achieves what i want (im happy to load both at once, but then i simply have my interior hull in the main world map, and would be fully visible and interactable, which is not ideal! please correct me if im wrong however)

Product Version: Not Selected
Tags:
eg.png (13.9 kB)
more ▼

asked Dec 05 '14 at 01:32 PM in Using UE4

avatar image

Chronojam
55 8 8 15

avatar image ScottSpadea Dec 05 '14 at 03:09 PM

have you done any tests to see if dragging around an interior hurts performance? im not sure if this is correct, but i think as long as actors are parented, they should be using a local coordinate system relative to their parent, so moving the parent should not need to update the coordinates of anything attached to it. if attaching actors does cause any performance problems, you could optimize it by using fewer separate parts, combining most of the interior into a single object, and trying to use as few draw calls as possible.

you could make a test actor that spawns a few thousand cubes, attaches them to a parent, and moves the parent around. then you can find out how many objects it takes to actually hurt the frame rate, but it really depends how you want to make your spaceship. i think if you use as few materials as possible, and use instanced meshes and combined as many parts into a single static mesh as you can, it shouldn't be a performance problem.

avatar image Tesla Dec 05 '14 at 03:14 PM

I believe seamless travel might be what you are looking for, though i don't believe its exposed through blueprints, only c++ at this time. (I think).

Maybe an engineer can confirm this?

avatar image Chronojam Dec 05 '14 at 03:39 PM

Im going to run a few tests about just pulling the interior along, my worry in this case is things like simulated gravity including smooth movement on the interior while the ship itself is doing wibbly-wobbly stuff

Ill also take a look into seamless travel (is that different from level streaming?)

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

1 answer: sort voted first

Turns out having 2 worlds at once doesnt seem to be possible, (after experimenting). Also performance does seem to become an issue with the large interiors i have planned.

As such im going to keep seperate interiors, but hide them inside a sun or asteroid. Thanks for your help anyways :)

more ▼

answered Dec 09 '14 at 01:41 PM

avatar image

Chronojam
55 8 8 15

(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