Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Mesh
  5. addCollider

addCollider

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Add a mesh collider if we have a mesh renderer and no collider

Example:

1
obj.addCollider()
Tags
Was this article helpful to you? Yes No

How can we help?