Gyroscope:getRotationRate

From GiderosMobile
Revision as of 17:43, 12 January 2025 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2012.8
Class: Gyroscope

Description

Returns the device rate of rotation around three axes in radians per second.

(number), (number), (number) = Gyroscope:getRotationRate()

Return values

Returns (number) rate of rotation around x
Returns (number) rate of rotation around y
Returns (number) rate of rotation around z