Description
The Controller
field of the MotionRange
enum in the Sandbox.VR
namespace provides hand poses that estimate how the user's hand wraps around a controller, if they're using one. This is particularly useful in virtual reality applications where the user interacts with the environment using a physical controller.
Usage
Use the MotionRange.Controller
field when you need to simulate or estimate the hand pose of a user holding a VR controller. This can be used to enhance the realism of hand interactions in VR applications by providing a more accurate representation of how the user's hand would naturally grip a controller.
Example
// Example of using MotionRange.Controller
// Assuming you have a VR setup and want to set the motion range to Controller
VRHand hand = new VRHand();
hand.MotionRange = MotionRange.Controller;
// This will configure the hand to simulate the pose as if holding a controller.