File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Assets/MixedRealityToolkit.Tests/PlayModeTests Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -358,11 +358,10 @@ public IEnumerator SetTarget()
358358 bbox . Target = cube ;
359359 bbox . Active = true ;
360360
361- var inputSimulationService = PlayModeTestUtilities . GetInputSimulationService ( ) ;
362-
363361 // front right corner is corner 3
364362 var frontRightCornerPos = cube . transform . Find ( "rigRoot/corner_3" ) . position ;
365363
364+ // grab corner and scale object
366365 Vector3 initialHandPosition = new Vector3 ( 0 , 0 , 0.5f ) ;
367366 int numSteps = 30 ;
368367 var delta = new Vector3 ( 0.1f , 0.1f , 0f ) ;
Original file line number Diff line number Diff line change @@ -360,11 +360,10 @@ public IEnumerator SetTarget()
360360 bbox . Target = cube ;
361361 bbox . Active = true ;
362362
363- var inputSimulationService = PlayModeTestUtilities . GetInputSimulationService ( ) ;
364-
365363 // front right corner is corner 3
366364 var frontRightCornerPos = cube . transform . Find ( "rigRoot/corner_3" ) . position ;
367365
366+ // grab corner and scale object
368367 Vector3 initialHandPosition = new Vector3 ( 0 , 0 , 0.5f ) ;
369368 int numSteps = 30 ;
370369 var delta = new Vector3 ( 0.1f , 0.1f , 0f ) ;
@@ -375,7 +374,6 @@ public IEnumerator SetTarget()
375374 yield return hand . SetGesture ( ArticulatedHandPose . GestureId . Pinch ) ;
376375 yield return hand . MoveTo ( frontRightCornerPos + delta , numSteps ) ;
377376
378-
379377 var endBounds = cube . GetComponent < BoxCollider > ( ) . bounds ;
380378 Vector3 expectedCenter = new Vector3 ( 0.033f , 0.033f , 1.467f ) ;
381379 Vector3 expectedSize = Vector3 . one * .567f ;
You can’t perform that action at this time.
0 commit comments