We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc2dd1f commit 96612ffCopy full SHA for 96612ff
docs/Animation_API.md
@@ -0,0 +1,17 @@
1
+
2
+# The Animation API
3
4
+You can control animation blueprints variables and events easily:
5
6
+```py
7
+# get a reference to the skeletal mesh
8
+skeletal = self.uobject.get_component_by_type('SkeletalMeshComponent')
9
+# get a reference to the animation class
10
+animation = skeletal.get_anim_instance()
11
12
+# set a variable
13
+animation.set_property('Speed', 17.0)
14
15
+# trigger a custom event
16
+animation.call('AttackWithSword')
17
+```
0 commit comments