Skip to content
This repository was archived by the owner on Apr 27, 2024. It is now read-only.
This repository was archived by the owner on Apr 27, 2024. It is now read-only.

Holograms-210 Chapter 6 - SimpleTagAlong sample is not working as described  #45

@AMollis

Description

@AMollis

I'm using the latest version of Unity. At the time of opening this issue the latest version was 2017.3.1f1

The sample in 210 Chapter 6 (https://developer.microsoft.com/en-us/windows/mixed-reality/holograms_210) is not working as described. That is, the "TagAlong" object is never made visible. I've verified that the PerformTagAlong() function is being invoked, and the "TabAlong" object is dynamically being inserted into the scene. However, the "SimpleTagAlong" class is not bringing the "TagAlong" object into view.

As a work around, I've inserted these "run once" lines, immediate after instantiating the "TagObject":

InteractibleAction.cs around line 29

Ray ray = new Ray(Camera.main.transform.position, Camera.main.transform.forward);
instantiatedObjectToTagAlong.transform.position = ray.GetPoint(2.0f);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions