|
@@ -1235,7 +1235,7 @@ public class GameManager : MonoSingleton<GameManager>
|
|
|
VuforiaManager.Instance.list_Anchor.Add(vuforiaAnchor);
|
|
|
var anchorPos = Vector3.zero;
|
|
|
Debug.Log(anchor.picturePosition.pointRelativeX+" "+ WebMapSize.x);
|
|
|
- anchorPos = new Vector3((float)anchor.picturePosition.pointRelativeX / WebMapSize.x * MapSize.x, -1f, -(float)anchor.picturePosition.pointRelativeY / WebMapSize.y * MapSize.y);
|
|
|
+ anchorPos = new Vector3((float)anchor.picturePosition.pointRelativeX / WebMapSize.x * MapSize.x, 0f, -(float)anchor.picturePosition.pointRelativeY / WebMapSize.y * MapSize.y);
|
|
|
anchorObj.transform.localPosition = anchorPos;
|
|
|
|
|
|
anchorObj.transform.GetChild(0).gameObject.SetActive(false);
|