Warning, /education/gcompris/external/qml-box2d/examples/shared/ChainBody.qml is written in an unsupported language. File is not indexed.
0001 import Box2D 2.0 0002 0003 Body { 0004 id: body 0005 0006 property alias fixture: chain 0007 0008 property alias density: chain.density 0009 property alias friction: chain.friction 0010 property alias restitution: chain.restitution 0011 property alias sensor: chain.sensor 0012 property alias categories: chain.categories 0013 property alias collidesWith: chain.collidesWith 0014 property alias groupIndex: chain.groupIndex 0015 0016 property alias vertices: chain.vertices 0017 property alias loop: chain.loop 0018 property alias prevVertex: chain.prevVertex 0019 property alias nextVertex: chain.nextVertex 0020 0021 signal beginContact(Fixture other) 0022 signal endContact(Fixture other) 0023 0024 Chain { 0025 id: chain 0026 0027 onBeginContact: body.beginContact(other) 0028 onEndContact: body.endContact(other) 0029 } 0030 }