Placement of objects in Runtime for the Player

In using a framework system in unreal that allows in game placement of objects in playtime, is there a way to utilise this kind of feature with cesium so that it doesn’t later disappear?
In the editor, to place world objects we currently have to create a sub level, and then place the objects.

Is there a way to give this ability to the player. For example if the player was in the game, live, and placed an object such as a box, tree, house, notes at points of interest, npc, chest etc
Then if they left it would save that location, and when they come back it would load the object as is possible with sub areas and objects set in editor.
But not just in the restricted regions that we set up in the editor for the sub are, instead the player could either make their own sub area. Or the object contain their own references and sudo sub area that is loaded when close enough.
Essentially somehow getting around the restriction of not being able to place objects without setting the sub area in the unreal editor…

This would be quite useful in many contexts where the player interacts with the world in a dynamic way. Good examples are survival games, sim type games, educational games, building and exploration games. All of these contexts lend themselves towards what cesium offers.

If it’s already possible, thats great! If not, then it would be fantastic to have this capacity in an upcoming update!

I have never messed with sublevels, but I do have several hand placed objects on my project around the world.
The key is the globe anchor component.
For instance, I have a row of jets at the takeoff runway for our demonstration. If you fly all the way from florida to new mexico, without the globe anchor component, those jets would follow you around when cesium does a center reset.
With the globe anchor, they stay at their given wgs coordinate and when I fly back, they are there.
I also apply it to flare blueprints and any object that needs to be in the world and not follow me around weirdly.
This goes for the bulk of the objects in the project as well. We have interest points around the country to view from that are dynamically spawned at runtime. Each has that globe anchor component. The objects are all placed using lat,lon and hae.

1 Like