Returns a Vector3 with the position in 3d space of an Object.
getPosition( objectName: string ): Promise<Vector3>
objectName
Specifies what object do we want to retrieve the information from.
string
Usage:
await modelApi.getPosition("Box");
Return value:
{ x: 0, y: 0, z: 0, }
Last updated 1 month ago