microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

Add "Look At Override Transform" and "Orientation Override Transform" options to Orbital solver Orientation Types #7678

Closed CubicVR closed 9 months ago

CubicVR commented 4 years ago

Describe the problem

There is no built-in way to have Orbital Solver follow the position of one transform while looking at or matching the orientation of another transform, other than the main camera.

Describe the solution you'd like

Add these options to the Orientation Type dropdown in Orbital:

1- "Look At Override Transform" which does this: transform.LookAt(LookAtOverrideTransform);

2- "Orientation OverrideT ransform" which does this: transform.rotation = orbital.orientationOverrideTransform.rotation;

Describe alternatives you've considered

Currently we use custom scripts to add this functionality

Additional context

Useful for many use cases but our specific one is building a spectator camera system that can alternate its target on the fly.

Zee2 commented 3 years ago

Hi @CubicVR; apologies for the delayed response. We'd love to review your code and accept it as a community contribution! Feel free to open a PR with your improvements.

IssueSyncBot commented 9 months ago

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!