Play Animation Once
What it does
Plays an animation embedded in an imported model one time when this effect runs. Use it for one-off actions such as opening a door, raising a gate, or playing a prop animation.
Before you start
- Use an imported model that includes a playable animation.
- Add the task and effect to that same model item. Basic shapes and items without an embedded animation cannot play one.
Setup
- Select the imported model in Build mode.
- Open its Tasks panel and add Play Animation Once to the task state that should start the motion.
- Set the animation speed and test the full task path in the published space.
Settings
| Setting | What it means |
|---|---|
| Animation speed and direction | Controls playback speed. Use a positive value for the model's normal direction; use a negative value only when you intentionally want to play its animation in reverse. |
Tiny example
A player clicks a door handle. The task activates and runs Play Animation Once on the door model at a normal positive speed.
Test and troubleshoot
- If nothing moves, confirm that the model file contains an animation and that the effect is attached to that model rather than a nearby trigger item.
- If the direction is wrong, switch the speed from positive to negative or vice versa.
- If the door begins in the wrong pose, prepare it with Stop Playing Animation at the appropriate point before testing the click path.
