History

Update header.

Howard Stearns committed 11 years ago

Commit ae73e681 parent 14990f21 file · +5 −5Browse files

Showing the changes to examples/example/entityCollisionExample.js (1 of 1 file). Show all

Unified · Split

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