// Copyright (C) 2023 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only import QtCore import QtTest import QtQuick3D import QtQuick3D.Physics import QtQuick Item { width: 640 height: 480 visible: true PhysicsWorld { id: worldA scene: scene viewport: viewA.scene forceDebugDraw: true } PhysicsWorld { id: worldB scene: scene viewport: viewB.scene forceDebugDraw: true } ImpellerScene { id: scene } EmptyView { width: parent.width/2 height: parent.height x: parent.width/2 id: viewA } EmptyView { width: parent.width/2 height: parent.height id: viewB } TestCase { name: "scene" when: scene.numBounces > 1 function triggered() { } } }