Skip to content

Commit

Permalink
Update Plug-in-Gyro-Motion.md
Browse files Browse the repository at this point in the history
  • Loading branch information
offalynne committed Oct 23, 2024
1 parent ccd169d commit c9e45dd
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions docs/10.0/Plug-in-Gyro-Motion.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,18 @@ This function returns a struct that describes the motion of a player's gamepad,
accelerationY: <number indicating acceleration on the Y axis in Gs>,
accelerationZ: <number indicating acceleration on the Z axis in Gs>,

angularVelocityX: <number indicating angular velocity on the X axis in radians per second>,
angularVelocityY: <number indicating angular velocity on the Y axis in radians per second>,
angularVelocityZ: <number indicating angular velocity on the Z axis in radians per second>,
angularVelocityX: <number indicating angular change on the X axis in radians>,
angularVelocityY: <number indicating angular change on the Y axis in radians>,
angularVelocityZ: <number indicating angular change on the Z axis in radians>,

quatDeviceX: <number indicating quaternion position on the X axis in radians>,
quatDeviceY: <number indicating quaternion position on the Y axis in radians>,
quatDeviceZ: <number indicating quaternion position on the Z axis in radians>,
quatDeviceW: <number indicating quaternion position on the W axis in radians>,

quatRoll: <number in radians indicating gamepad roll>,
quatPitch: <number in radians indicating gamepad pitch>,
quatYaw: <number in radians indicating gamepad yaw>,
}
```

Expand Down Expand Up @@ -145,6 +154,15 @@ This function returns a struct that describes the motion of a gamepad, following
angularVelocityX: <number indicating angular velocity on the X axis in radians per second>,
angularVelocityY: <number indicating angular velocity on the Y axis in radians per second>,
angularVelocityZ: <number indicating angular velocity on the Z axis in radians per second>,

quatDeviceX: <number indicating quaternion position on the X axis in radians>,
quatDeviceY: <number indicating quaternion position on the Y axis in radians>,
quatDeviceZ: <number indicating quaternion position on the Z axis in radians>,
quatDeviceW: <number indicating quaternion position on the W axis in radians>,

quatRoll: <number in radians indicating gamepad roll>,
quatPitch: <number in radians indicating gamepad pitch>,
quatYaw: <number in radians indicating gamepad yaw>,
}
```

Expand Down

0 comments on commit c9e45dd

Please sign in to comment.