Enable collision for the entire attached mesh. This is expensive to evaluate, so should only be used on low-poly meshes.
Properties:
Name | Type | Default | Description |
---|---|---|---|
convex |
bool | true | Whether the collider should be convex or concave. Set this to false if you have holes in your mesh. Convex colliders are limited to 255 triangles. Note: concave colliders can be significantly more expensive comparet to conves colliders. |
Example
<a-box n-mesh-collider></a-box>