Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Add note to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpeiris committed Jan 5, 2017
1 parent 4cd09ce commit a58b24c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dist/aframe-altspace-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,8 @@
* @extends native.n-collider
* @example <a-box n-mesh-collider></a-box>
* @prop {bool} convex=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.
* in your mesh. Convex colliders are limited to 255 triangles. Note: concave colliders can be significantly more
* expensive comparet to conves colliders.
*/
AFRAME.registerComponent('n-mesh-collider', {
_forEachMesh: function (func) {
Expand Down
3 changes: 2 additions & 1 deletion doc/native.n-mesh-collider.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ <h5 class="subsection-title">Properties:</h5>


<td class="description last"><p>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.</p></td>
in your mesh. Convex colliders are limited to 255 triangles. Note: concave colliders can be significantly more
expensive comparet to conves colliders.</p></td>
</tr>


Expand Down
3 changes: 2 additions & 1 deletion src/native-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@
* @extends native.n-collider
* @example <a-box n-mesh-collider></a-box>
* @prop {bool} convex=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.
* in your mesh. Convex colliders are limited to 255 triangles. Note: concave colliders can be significantly more
* expensive comparet to conves colliders.
*/
AFRAME.registerComponent('n-mesh-collider', {
_forEachMesh: function (func) {
Expand Down

0 comments on commit a58b24c

Please sign in to comment.