Position and Orientation
The position and orientation model deals with the position of Things and their orientation (direction and mirroring) in the world.
Client Methods
teleport
set_orientation
Set the orientation of a Thing. This function will fail returning false if the thing doesn't exist, is already oriented in the given way, or cannot be oriented manually.
---@param thing things.Id Thing ID to orient.
---@param orientation Core.Orientation Orientation to set for the Thing.
---@return boolean oriented `true` if the orientation was successfully set, `false` otherwise.
local oriented = things_client.orientation_v1.set_orientation(thing, orientation)