Hello everyone,
I’ve uploaded a 3D Tiles model of a telecom tower to Cesium ion and I’m trying to simulate a swaying effect to mimic how the tower would move in the wind. Ideally, the base of the tower should remain fixed to the ground, while only the upper portion sways.
However, when I attempt to apply transformations or animations, the entire tower - including the base moves, which is not the desired behavior. Has anyone implemented a similar effect or found a way to anchor the base while allowing only the top part to move?
Any suggestions or guidance would be greatly appreciated.
Thank you!
This is likely not the best section for this. Depending on where you are rendering it, this might better fit into the CesiumJS section (or the section for the respective other rendering clients).
Deforming the geometry of a model - meaning a modification of its shape, beyond basic rotation/translation/scale - is usually not directly possible. (Neither in CesiumJS, nor in other engines - even though there might be some sophisticated in-engine features e.g. in Unreal that allow that).
It would be necessary to describe the deformation, and then somehow make this available to the rendering client. And there are several (more or less involved) ways of how that could be addressed. One example could be with morph targets or skinning.
(I think that morph targets are currently not supported in CesiumJS either. Skinning could work - actually, the RiggedSimple sample model already looks a bit like a “bending” tower … )