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)
You are not logged in. Please login or register.
Infinity Code Forum → Bug Reporting → 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)
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;
}
}
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
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).
Infinity Code Forum → Bug Reporting → 3d Marker Y rotation
Powered by PunBB, supported by Informer Technologies, Inc.