import Box2D 2.0 Body { id: body property alias fixture: edge property alias density: edge.density property alias friction: edge.friction property alias restitution: edge.restitution property alias sensor: edge.sensor property alias categories: edge.categories property alias collidesWith: edge.collidesWith property alias groupIndex: edge.groupIndex property alias vertices: edge.vertices signal beginContact(Fixture other) signal endContact(Fixture other) Edge { id: edge onBeginContact: body.beginContact(other) onEndContact: body.endContact(other) } }