Topic: 3d Marker Y rotation

Online Maps 2.5.12.1
I have set different values for Y rotation on my 3d Markers, but the markers all face 0 at runtime (in editor and UWA/HoloLens)

Re: 3d Marker Y rotation

Hello.

I just checked it out.
Rotation Y works as planned.

Test script:

using UnityEngine;

public class TestUpdateRotationY:MonoBehaviour
{
    public float rotationTime = 3; // sec
    private OnlineMapsMarker3D marker;

    private void Start()
    {
        marker = OnlineMapsTileSetControl.instance.AddMarker3D(OnlineMaps.instance.position, null);
        marker.scale = 50;
    }

    private void FixedUpdate()
    {
        marker.rotationY += Time.fixedDeltaTime * 360 / rotationTime;
    }
}
Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: 3d Marker Y rotation

I'm setting the Y rotation in Tile Set Control in editor.

Referencing the video I posted in other thread:
http://bradensmith.com/vrar/hMap_TTP.mp4

there is a police car set to Y rotation 210,
the red person (in top/right of map) has Y rotation set to 90,
the blue person (in left of map) has Y rotation set to 0.

as you can see, they all point to 0 at runtime

glad it works on your machine

Re: 3d Marker Y rotation

Now I understand you.
3D markers have ignored rotation Y when the scene starts.

The problem is fixed.
A new version will be available soon (most likely tomorrow).

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.