Warning, /education/gcompris/external/qml-box2d/examples/movingBox/WoodenBox.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 PhysicsItem { 0006 id: box 0007 0008 width: 100 0009 height: 100 0010 sleepingAllowed: false 0011 bodyType: Body.Dynamic 0012 0013 fixtures: Box { 0014 width: box.width 0015 height: box.height 0016 0017 density: 1 0018 friction: 0.3 0019 restitution: 0.5 0020 } 0021 0022 Rectangle { 0023 anchors.fill: parent 0024 color: "black" 0025 } 0026 }