-
Notifications
You must be signed in to change notification settings - Fork 6
Markers
There is an included type, called WorldMarker
, that allows you to place entities in the world that are just simple points in space. These can be used for waypoints, teleportation positions, warp points for console commands, telling NPCs where to look or where to walk during a scripted sequence, that "Almsivi Intervention" spell from Morrowind, the sky is the limit. Simply add a WorldMarker
into the scene, and then save its resource in the Entities directory defined in the project settings. Entities loaded from a WorldMarker will have a MarkerComponent
component.
Rotation is also stored with the marker data, so you can make things point in certain directions, too. The blue axis is considered "forward". It's a bit hard to see, but right now I cannot find the strength within me to code a more usable gizmo for it beyond the default Marker3D
class. If you want to make one, submit a PR and I'll be happy to look at it.