GamepadPose.linearVelocity

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

The linearVelocity read-only property of the GamepadPose interface returns an array representing the linear velocity vector of the Gamepad, in meters per second.

In other words, the current velocity at which the sensor is moving along the x, y, and z axes.

Syntax

var myGamepadLinVel = gamepadPoseInstance.linearVelocity;

Value

A Float32Array, or null if the gamepad is not able to provide linear velocity data.

Examples

TBD

Specifications

Specification Status Comment
Unknown
The definition of 'linearVelocity' in that specification.
Unknown Initial definition

Browser compatibility

TBD

See also

Document Tags and Contributors

 Last updated by: chrisdavidmills,