We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15f60a7 commit 000eae4Copy full SHA for 000eae4
1 file changed
v3/src/physics/impact/events/CollideEvent.js
@@ -7,7 +7,7 @@ var CollideEvent = new Class({
7
8
initialize:
9
10
- function CollideEvent (bodyA, bodyB)
+ function CollideEvent (bodyA, bodyB, axis)
11
{
12
Event.call(this, 'COLLIDE_EVENT');
13
@@ -22,6 +22,9 @@ var CollideEvent = new Class({
22
23
// The Game Object associated with bodyB (if any)
24
this.gameObjectB = bodyB.gameObject;
25
+
26
+ // Either 'x' or 'y'
27
+ this.axis = axis;
28
}
29
30
});
0 commit comments