Back to Content

GamepadPose: angularAcceleration property

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

latest689 B
Original Source

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

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

In other words, the current acceleration of the sensor's rotation around the x, y, and z axes.

Value

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

Examples

TBD

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also