Updated rotation/scale in editor and runtime.


Further development on GPU accelerated runtime rotation and scaling.

Reimplemented rotation and scaling in the editor to match rotation and scaling in runtime.

Note that with the new rotation method, you may need to change current projects to use different angles for orientation (usually a 90-degree difference for the xAngle) To keep it consistent between editor and runtime, this will be the default going forward.

Xscale, Yscale, Zscale are now done on the model before it is rotated, so the scaling is done on the original model orientation and then the rotation is performed, previously the scaling was done post rotation, which is generally not what was desired.

Note that the bounding box corresponds better to the model in the editor (except for certain rotations.) The bounding box in runtime defaults to the original rotation. With rotation, it does not match as well.

Work continues to improve the updating of the bounding box with rotation.

Files

3DObject-2-22-0.c3addon 54 kB
Mar 15, 2022

Get Construct 3 3DObject Plugin

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

nice! so cool!