Portal Door animation

Hi! I want to modify portal system so it triggers animations on approach and not on loading.
In new script component how do I retrieve mesh and it’s animation from object to override it?

Hi, welcome to the forums!

You can use ecs.GltfModel.set to change the animClip to whichever animation you want to play or none.

1 Like

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.