You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even when not gazing at a projectile that has already been launched and is just sitting on the ground, using the tap-and-drag gesture moves the projectile around and fires the StoppedDragging event. I tested this bug in the PlayAnsPass scene.
The text was updated successfully, but these errors were encountered:
This only seems to be a problem in the PlayAndPass.scene, the InitialTossing.scene looks to be fine.
Checking the HoloToolkit.Unity.InputModule.GazeManager.Instance.HitObject.name while looking away from projectile, shows that the gaze manager is apparently not focused on projectile when it can still be handdragged.
Also, checking the HandDraggable.cs shows that OnEnterFocus() and OnExitFocus() methods are NOT being called for the component attached the the projectile, while dragging it when looking away from it.
The StartedDragging() and StoppedDragging() event handlers in the ProjectileShooter.cs component are private and so I don't see how they would be getting called from anything other than the projectile th component is attached to.
Added some workaround logic in ProjectileShooter.cs
The added workaround fits with the game design, but now has the detriment of hiding this bug.
This should be OK for now, but the underlying problem is still a mystery to me.
Leaving this issue open, just so that I don't forget that it exists underneath.
reedv
changed the title
Player projectiles always HandDraggable
PlayAndPass.scene:Player projectiles always HandDraggable
Apr 2, 2017
Even when not gazing at a projectile that has already been launched and is just sitting on the ground, using the tap-and-drag gesture moves the projectile around and fires the StoppedDragging event. I tested this bug in the PlayAnsPass scene.
The text was updated successfully, but these errors were encountered: