Good afternoon. I'm interested in how you can obtain a list of monuments on the map and their coordinates.Is that possible?
If you are about code, you can find all monuments byUnityEngine.Object.FindObjectsOfType<MonumentInfo>()
yes! I want to write a plugin that will add a zone of building block in caves. To find the coordinates of the object you need to use Bounds?
In response to BarakudaX777 (): yes! I want to write a plugin that will add a zone of building block in caves. To find the coordinat... Object coordinates are contained in Transform.
In response to BarakudaX777 (): yes! I want to write a plugin that will add a zone of building block in caves. To find the coordinat... Mm, you can message me in PM - Orange#0900
I am geting the monument with foreach ( var monument in UnityEngine.Object.FindObjectsOfType<MonumentInfo>()now how would i get the location of an entity relivent to the monument so when it spawns monument in new map the location of the entity is the same?
ok i got that part but i need to convert a string format to a vector3 "14.9828f, 2.8417f, -32.4670f" seems everything i try is incoreect.
The transform of the monument will have its central coordinates. If you want an offset from those, use .right, .forward, etc.