Back to Content

GamepadPose: angularVelocity property

files/en-us/web/api/gamepadpose/angularvelocity/index.md

latest670 B
Original Source

{{APIRef("WebVR API")}}{{SeeCompatTable}}

The angularVelocity read-only property of the {{domxref("GamepadPose")}} interface returns an array representing the angular velocity vector of the {{domxref("Gamepad")}}, in radians per second.

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

Value

A {{jsxref("Float32Array")}}, or null if the gamepad is not able to provide angular velocity information.

Examples

TBD

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also