Rotating custom QQuickItem strange behaviour
Unsolved
QML and Qt Quick
-
Hi,
I have a custom QQuickItem consisting of vertices using the QSGGeometryNode etc. In QML i use a transform where I both translate (in x, y) and rotate the element (around x and z axis). The x-rotation is static while the z rotation has a dynamic behaviour from sensor input. The rotation works very fine with nice performance in every angle except in a small range around 0 deg. Approximately around [-10, 10] deg..
The app works the same no matter the rotation angle, and no calculations are locking up the GUI..Anyone having any idea of whet the problem could be?
BR
Robert -
Hi! Sounds interesting. Can you create a small example and post the code?
-
@Wieland
I will try as soon as I find the time :)