Jump to content

jokke

Verified Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by jokke

  1. Thanks, this is what I was looking for, now it works.
  2. Hi @chengnay, That prefab method could work as an intermediate solutions but I'm eager to find a cleaner way. This custom solution might be expanded to 16 trackers and the prefab way can get really bad to maintain. Great if you can check how the role setting could be done in code.
  3. Hi @chengnay, Thanks but that is not what I'm looking for. I've working setup where I bind the physical trackers to different tracker roles (1-3). What I need is that when my app starts, it creates one game object per tracker from prefab. In that prefab there's VivePoseTracker component which has it's vive role set to Tracker1 by default but I need to dynamically change that into Tracker2, Tracker3 for the others. So looking for solution to modify viverole property in code in VivePoseTracker class.
  4. I want to set the roles for all trackers in code. VivePoseTracker class has property viveRole but it is getter only. How can I achieve something like below? VivePoseTracker poseTracker = go.GetComponent<VivePoseTracker>(); poseTracker.viveRole = ViveRoleProperty.New(TrackerRole.Tracker1);
×
×
  • Create New...