reportLocalPosition(...)
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
reportLocalPosition(val: boolean) : this;
Sets whether the objects within the TriggerRegion should return their position in the TriggerRegion’s local coordinate system.
Default value: true
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | boolean | If true the objects within the TriggerRegion will return their position in the TriggerRegion’s local coordinate system. |
Returns
Section titled “Returns”this