Events are operating normally. But why there is an error?
<font size="2">Assertion failure: undefinedStack trace: Error at Error (<anonymous>) at assert2 (http://localhost:50000/preview_prelude.js:12:10) at Box2D.Dynamics.Joints.b2Joint (http://localhost:50000/Physics_behavior.js:8844:5) at new Box2D.Dynamics.Joints.b2DistanceJoint (http://localhost:50000/Physics_behavior.js:8941:35) at Box2D.Dynamics.Joints.b2DistanceJointDef.Create (http://localhost:50000/Physics_behavior.js:9160:12) at Function.Box2D.Dynamics.Joints.b2Joint.Create (http://localhost:50000/Physics_behavior.js:8892:16) at Box2D.Dynamics.b2World.CreateJoint (http://localhost:50000/Physics_behavior.js:6483:43) at behinstProto.doCreateDistanceJoint (http://localhost:50000/Physics_behavior.js:12687:33) at Acts.CreateDistanceJoint (http://localhost:50000/Physics_behavior.js:12659:8) at Action.run_object (http://localhost:50000/eveng.js:1283:15)
</font>
dl.dropbox.com/s/d5f1i5b8wi1hps9/JointTest01.capx - source.
dl.dropbox.com/s/nqxr067emjk58h3/Video-JointTest01.exe - this video with my experiment (integrated viewer).