- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1
Locomotion
        Josh Stovall edited this page Dec 3, 2020 
        ·
        2 revisions
      
    Move the User() around their Reality().
// create a user
var user = new XR.User();
// add locomotion
new XR.Locomotion({
    at: user,
    type:'fly',
    direction: controller[0].orientation(),
    speed:     controller[0].grip(), 
});| Name | Type | Options | Description | 
|---|---|---|---|
| at | object | object to move | |
| type | string | flyteleportwalk | mode of transport | 
| direction | object | object to bind direction | |
| speed | object | object to bind speed | 
move in 3 dimensions
new XR.Locomotion({
    type:'play',
    bind: controller.right.trigger,
});point & click style
new XR.Locomotion({
    type:'teleport',
    bind: controller.right.trigger,
});move along a plane
new XR.Locomotion({
    type: 'walk',
    bind: controller.left.joystick
});- Animal Locomotion
- Do the Locomotion: The 19 Ways You Walk and Run in VR Games
- Lessons Learned From Five Years of VR Locomotion Experiments
- Locomotion Methods VR Locomotion in the New Era of Virtual Reality: An Empirical Comparison of Prevalent Techniques
See the live demo.