From fb091a2611c4320490e20a584db6983500fe72cc Mon Sep 17 00:00:00 2001 From: Rik Cabanier Date: Fri, 12 Mar 2021 20:41:46 -0800 Subject: [PATCH] Set angular velocity to radians per second + made velocities optional --- index.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.bs b/index.bs index 0388b946..9d01d59f 100644 --- a/index.bs +++ b/index.bs @@ -1186,8 +1186,8 @@ To populate the pose of an {{XRSpace}} |space| in an {{XRSpace}} |bas : If |limit| is `false` and the tracking system provides a [=6DoF=] pose whose position is actively tracked or statically known for |space|'s pose relative to |baseSpace|: :: Set |transform|'s {{XRRigidTransform/orientation}} to the orientation of |space|'s [=effective origin=] in |baseSpace|'s [=coordinate system=]. :: Set |transform|'s {{XRRigidTransform/position}} to the position of |space|'s [=effective origin=] in |baseSpace|'s [=coordinate system=]. - :: Set |pose|'s {{XRPose/linearVelocity}} to the linear velocity of |space|'s [=effective origin=] compared to |baseSpace|'s [=coordinate system=]. - :: Set |pose|'s {{XRPose/angularVelocity}} to the angular velocity of |space|'s [=effective origin=] compared to |baseSpace|'s [=coordinate system=]. + :: If supported, set |pose|'s {{XRPose/linearVelocity}} to the linear velocity of |space|'s [=effective origin=] compared to |baseSpace|'s [=coordinate system=]. + :: If supported, set |pose|'s {{XRPose/angularVelocity}} to the angular velocity of |space|'s [=effective origin=] compared to |baseSpace|'s [=coordinate system=]. :: Set |pose|'s {{XRPose/emulatedPosition}} to `false`. : Else if |limit| is `false` and the tracking system provides a [=3DoF=] pose or a [=6DoF=] pose whose position is neither actively tracked nor statically known for |space|'s pose relative to |baseSpace|: @@ -1706,7 +1706,7 @@ The transform attribute describes the position The linearVelocity attribute describes the linear velocity in meters per second relative to the base {{XRSpace}}. If the user agent can't populate this, it's allowed to return null. -The angularVelocity attribute describes the angular velocity in meters per second relative to the base {{XRSpace}}. If the user agent can't populate this, it's allowed to return null. +The angularVelocity attribute describes the angular velocity in radians per second relative to the base {{XRSpace}}. If the user agent can't populate this, it's allowed to return null. The emulatedPosition attribute is `false` when the {{XRPose/transform}} represents an actively tracked [=6DoF=] pose based on sensor readings, or `true` if its {{XRRigidTransform/position}} value includes a computed offset, such as that provided by a neck or arm model. [=Estimated floor level=]s MUST NOT be considered when determining if an {{XRPose}} includes a [=XRPose/computed offset=].