You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/routes/docs/[...4]rigs/[...3]controlling-a-rig-instance/+page.md
-86Lines changed: 0 additions & 86 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,92 +38,6 @@ execute as @e[type=item_display,tag=aj.<export_namespace>.root] at @s run \
38
38
tp@s ~ ~5 ~ ~90 ~
39
39
```
40
40
41
-
## Controlling Animation Playback
42
-
43
-
Animation playback is controlled using functions. Each animation has a set of functions that can be called to control it. Animation functions _must_ be ran as the root entity of the Rig Instance.
44
-
45
-
### Play Function
46
-
47
-
Starts playing the animation from the beginning.
48
-
49
-
```rust title=Play the walk animation | copy
50
-
executeas@e[type=item_display,tag=aj.<export_namespace>.root] run \
Pauses all currently playing animations, and smoothly transitions to the target frame of this animation over the duration, then resumes the animation from the target frame.
description: Learn how to control the playback of Animations.
4
+
---
5
+
6
+
# { $frontmatter.title }
7
+
8
+
{ $frontmatter.description }
9
+
10
+
Animation playback is controlled using functions. Each animation has a set of functions that can be called to control it. Animation functions _must_ be ran [as the root entity](/docs/rigs/controlling-a-rig-instance#selecting-the-rig-instance) of the Rig Instance.
11
+
12
+
### Play Function
13
+
14
+
Starts playing the animation from the beginning.
15
+
16
+
```rust title=Play the walk animation | copy
17
+
executeas@e[type=item_display,tag=aj.<export_namespace>.root] run \
Pauses all currently playing animations, and smoothly transitions to the target frame of this animation over the duration, then resumes the animation from the target frame.
0 commit comments