Warning, /education/gcompris/external/qml-box2d/examples/prismatic/Square.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 2.0 0002 import Box2D 2.0 0003 import "../shared" 0004 0005 Rectangle { 0006 id: item 0007 0008 color: "green" 0009 radius: 6 0010 0011 property Body body: BoxBody { 0012 target: item 0013 world: physicsWorld 0014 0015 width: item.width 0016 height: item.height 0017 0018 sleepingAllowed: false 0019 bodyType: Body.Dynamic 0020 0021 density: 10 0022 friction: 1 0023 restitution: 0.3 0024 } 0025 }