Skip to content

Commit

Permalink
Update use of setSensor api
Browse files Browse the repository at this point in the history
  • Loading branch information
hobinjk-ptc committed Jun 13, 2024
1 parent dc7bb74 commit 6e315fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/spatialSensor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function updateSensorPosition() {
coordEqual(oldPos.z, newPos.z)) {
return;
}
spatialInterface.analyticsSetSensor(newPos);
spatialInterface.analyticsSetSensor({position: newPos});
languageInterface.updateSummarizedState('position', newPos);
languageInterface.sendSummarizedStateToParent();
oldPos = newPos;
Expand Down

0 comments on commit 6e315fb

Please sign in to comment.