Showing the changes to examples/example/entityCollisionExample.js (1 of 1 file). Show all
Unified · Split
| @@ -1,11 +1,11 @@ | ||
| 1 | 1 | // |
| 2 | −// globalCollisionsExample.js | |
| 2 | +// entityCollisionExample.js | |
| 3 | 3 | // examples |
| 4 | 4 | // |
| 5 | −// Created by Brad Hefta-Gaub on 1/29/14. | |
| 6 | −// Copyright 2014 High Fidelity, Inc. | |
| 5 | +// Created by Howard Stearns on 5/25/15. | |
| 6 | +// Copyright 2015 High Fidelity, Inc. | |
| 7 | 7 | // |
| 8 | −// This is an example script that demonstrates use of the Controller class | |
| 8 | +// This is an example script that demonstrates use of the per-entity event handlers. | |
| 9 | 9 | // |
| 10 | 10 | // Distributed under the Apache License, Version 2.0. |
| 11 | 11 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html |
| @@ -20,7 +20,7 @@ var properties = { · 8 unmodified lines | ||
| 20 | 20 | type: "Box", |
| 21 | 21 | position: position, |
| 22 | 22 | collisionsWillMove: true, |
| 23 | − color: { red: 200, green: 0, blue: 0 } | |
| 23 | + color: { red: 200, green: 0, blue: 0 } | |
| 24 | 24 | }; |
| 25 | 25 | var collider = Entities.addEntity(properties); |
| 26 | 26 | var armed = false; |