Skip to content

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.

ParameterTypeDescription
vstringThe name of the collider tag.

Raycaster