Name: Simple Animation
By AdamO on Discord
This package provides a script to allow you to use the animations built-in to many of Crayta’s meshes in a number of ways.
- Install the Simple Animation package
- Add the “simpleAnimationScript” to any mesh entity that has animations on it (you can sort the mesh library by the “animated” tag).
- Set up the properties however suits your game - you can loop the first animation, you can play animations on the client, or you can connect event properties (from a trigger, for example) to the functions “playAnimA” and “playAnimB”
Alternatively, you can drop in the “AnimExamplePiston” template to see how the script works.