fix (skins) skins w/ a root rotation, translation, scale


Fix a special case where the gltf/glb model has a skinned mesh that needs to be transformed by the root rotation, scale, translation. This is a somewhat experimental fix, I've tested with a number of models, however if you see an issue, please let me know and share the model.

For performance it is better to not have a top level scale, translation, and rotation since this calculation will need to be done during animation for the skinned meshes. Instead do the top level scale, translation and rotation on the C3 object in C3.

Files

3DObject-2-50-3.c3addon 110 kB
Jul 23, 2023

Get Construct 3 3DObject Plugin

Download NowName your own price

Comments

Log in with itch.io to leave a comment.

Hey, I tried using Timeline of Construct 3 to make animation, but it looks like 3d Object doesn't work with timeline features?? Or does it work?

I have not tried it before, but there are probably a limited number of parameters which could be iterable. Can you share what parameters you are iterating in the timeline and an example project, so I can test it?

Timeline works great with default parameters that construct provide like X,Y position, Angle etc for 2d sprite. But the properties of 3d object like Z elevation , x,y,z rotation of 3d object, x,y,z scale of 3d object doesnot work in timeline.

(1 edit)

Ah, I will have to explore if those other parameters can be made compatible with the timeline, I will add it to my request list.

Thank you for your attention! Great work!

I have this working during runtime for x,y,z rotation and scale, but it does not yet work in editor, I am asking Scirra about this possible limitation:

https://www.construct.net/en/forum/construct-3/plugin-sdk-10/editor-support-time...