Hi,
I am using Qt 5.3.1 and Felgo 2.0.3.
The following code cause the below error:
import QtQuick 2.3
import QtQuick.Window 2.1
import QtQuick.Layouts 1.1
import Felgo 3.0
GameWindow {
visible: true
width: 360
height: 360
EntityManager {
id: entityManager
entityContainer: scene
}
Scene {
id: scene
PhysicsWorld {
gravity.y: -9.81
z: 10 // draw the debugDraw on top of the entities
// these are performance settings to avoid boxes colliding too far together
// set them as low as possible so it still looks good
updatesPerSecondForPhysics: 60
velocityIterations: 5
positionIterations: 5
}
EntityBase {
entityId: "box1"
entityType: "box"
Image {
source: "person25.svg"
width: 128
height: 128
antialiasing: true
}
BoxCollider {
anchors.fill: boxImage
}
}
}
}
Type PhysicsWorld unavailable
file:///home/salim/Qt/5.3/gcc_64/qml/VPlay/physics/PhysicsWorld.qml:6 World is not a type
For your help please.
Regards,
Salim