-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[XRI3] Spatial Mouse Scene Description panel incorrectly scales entire scene when manipulated #876
Comments
This is likely because of the following exception
|
Problem seems to be in
public bool IsModeDetected()
{
// Flat screen mode is only active if the Left and Right Hands aren't being tracked
#pragma warning disable CS0618 // Type or member is obsolete
if (controllerLookup != null)
{
return !controllerLookup.LeftHandController.currentControllerState.inputTrackingState.HasPositionAndRotation() && !controllerLookup.RightHandController.currentControllerState.inputTrackingState.HasPositionAndRotation();
}
#pragma warning restore CS0618
else if (trackedPoseDriverLookup != null)
{
return !trackedPoseDriverLookup.LeftHandTrackedPoseDriver.GetInputTrackingState().HasPositionAndRotation() &&
!trackedPoseDriverLookup.RightHandTrackedPoseDriver.GetInputTrackingState().HasPositionAndRotation();
}
else
{
Debug.LogWarning("Neither controllerLookup nor trackedPoseDriverLookup are set, unable to detect mode.");
return false;
}
} |
This is a "sample only" issue. |
…ch. (#879) # Overview After updating sample scenes to the new XRI3 rig, some interactor references broke on some test behaviours. This change fixes these issues. Also adjusting a game object name in the "SolverExample" scene, to better example what the game object is. # Fixes - #878 - #877 - #876 # Inspector/Scene Updates ### Spatial Mouse Sample Scene Changes Updates scene to use the MRTK3/XRI3 Rig Prefab, this fixed broken interactor references  ### Solver Examples Scene Changes Adding hand ray interactor references on the `SolverExampleManager` test behaviour  ### Eye Tracking Visualizer Example Scene Changes Adding gaze interactor references on the `LogStructureEyeGaze` test behaviour. 
Fixed |
To reproduce
Steps to reproduce the behavior:
Expected behavior
Scene to move without being scaled
A clear and concise description of what you expected to happen.
The text was updated successfully, but these errors were encountered: