colliderTag(...)
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.
colliderTag(v : string): Raycaster;
Sets the collider tag of this raycaster. Objects with this tag will be tested for intersection with the raycaster.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
v | string | The name of the collider tag. |
Returns
Section titled “Returns”Raycaster