Topic: 3D Marker Spawning Offset from Map
Hey Infinity Code Forums,
I recently got the Online Maps V3 plugin, and am loving it so far. I have just ran into one issue, it is regarding 3D markers. If you look at the attached screenshot, the blue capsule is supposed to represent the center of the map (that's the geoposition it is set to, 44, -91). The map is slightly offset and attached to the player camera, it's position is (0, -4, 11).
I run into issues when the blue capsule spawns, it assumes that the map object is at the origin, and spawns the capsule relative to that (which behaves the same if I pan the map around, it just moves in empty space and despawns when it hits the bounds of the map). I need the capsule to recognize the map plane has moved, and adjust to that position instead. 2D markers work fine, which is why I am confused as to why 3D are giving me issues.
I tried wrapping the 3D markers in another object and applying the offset to that object, but that didn't work. I assume there is an easier way. If any of you have solutions to this problem, please let me know. Thank you guys!