Change Animation Vars from Python – Isaac 5.0 #172
Unanswered
RobinGitNa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to set the relevant variables for the animation via a python script, but it doesn't work, and the same goes for executing in update
import omni.anim.graph.core as ag chars = ag.get_characters() print(chars[0]) char=ag.get_character("/World/biped_demo_meters") print(char) char.set_variable("Action", "Walk") print("set action") print(char.get_variable("Action"))
output:Action is []Beta Was this translation helpful? Give feedback.
All reactions