![]() On immersive headsets, the grip pose is best used to render the user's hand or an object held in the user's hand, such as a sword or gun. The grip pose represents the location of either the palm of a hand detected by a HoloLens, or the palm holding a motion controller. To better represent these controllers, there are two kinds of poses you can investigate for each interaction source the grip pose and the pointer pose. Windows Mixed Reality supports motion controllers in different form factors, with each controller's design differing in its relationship between the user's hand position and the natural "forward" direction that apps should use for pointing when rendering the controller. When using the higher-level composite Tap gesture, Windows will manage this targeting ray capture and timeout for you. You can then take action using that targeting ray a few frames later once the trigger value reaches 1.0, as long as the final press occurs within a short time window. ![]() To manage any such recoil that may occur when users pull the trigger, your app can snap its targeting ray when the trigger's analog axis value rises above 0.0. Users who pull the trigger vigorously may end up aiming the controller higher at the end of their trigger pull than they'd intended. When using motion controllers to point and commit, your users will use the controller to target and interact by pulling its trigger. ![]()
0 Comments
Leave a Reply. |