Skip to content

Commit

Permalink
New example: break objects by throwing balls (#9493)
Browse files Browse the repository at this point in the history
* New webgl_physics_brick demo. Cutting a convex by a plane works, but it must be refactored to work from Geometry, not from "segmentedobject"

* webgl_physics_brick: Splitting a convex mesh with a plane works.

* webgl_physics_brick: Preparing to refactor objects

* webgl_physics_brick: Refactored objects to hang on the THREE.Object3d

* webgl_physics_brick: Radial subdivision works. To do: non-radial one.

* webgl_physics_brick: Non-radial subdivision works.

* 'breaking things' example works.

* added webgl_physics_convex_break to example index. Aded a pyramid.

* webgl_physics_convex_break: Add friction

* webgl_physics_convex_break: Add velocity and angular vel. from parent.

* webgl_physics_convex_break: Change guideline comment.

* webgl_physics_convex_break: Changed page title.
  • Loading branch information
yomboprime authored and mrdoob committed Aug 11, 2016
1 parent ae60e89 commit f0b3de8
Show file tree
Hide file tree
Showing 3 changed files with 1,051 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/files.js
Expand Up @@ -184,6 +184,7 @@ var files = {
"webgl_physics_rope",
"webgl_physics_cloth",
"webgl_physics_volume",
"webgl_physics_convex_break",
"webgl_points_billboards",
"webgl_points_billboards_colors",
"webgl_points_dynamic",
Expand Down

0 comments on commit f0b3de8

Please sign in to comment.