Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.10.0
-
None
-
58e25f177540e86690a64c0e3a20e611a1fc64e2
Description
The world transform of an entity is calculated on the backend, but may still be of use on the frontend. This can be achieved by adding a new component that exposes the worldTransform of its entity from the backend to the frontend or by adding a "worldTransform" or "calculatedWorldTransform" function on QTransform in addition to a boolean "trackWorldTransform" property that enables the feature.
This is related to deprecating viewMatrix on the QCamera class, which is now wrong. The viewMatrix can be calculated by using the world transform and QMatrix4x4::lookAt: https://codereview.qt-project.org/#/c/217106/