{"action":"opened","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/18651","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/18651/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/18651/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/18651/events","html_url":"https://github.com/godotengine/godot/issues/18651","id":320563195,"number":18651,"title":"Add a way for the animator tree to request variable values from nodes","user":{"login":"ca3games","id":19626687,"avatar_url":"https://avatars3.githubusercontent.com/u/19626687?v=4","gravatar_id":"","url":"https://api.github.com/users/ca3games","html_url":"https://github.com/ca3games","followers_url":"https://api.github.com/users/ca3games/followers","following_url":"https://api.github.com/users/ca3games/following{/other_user}","gists_url":"https://api.github.com/users/ca3games/gists{/gist_id}","starred_url":"https://api.github.com/users/ca3games/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ca3games/subscriptions","organizations_url":"https://api.github.com/users/ca3games/orgs","repos_url":"https://api.github.com/users/ca3games/repos","events_url":"https://api.github.com/users/ca3games/events{/privacy}","received_events_url":"https://api.github.com/users/ca3games/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-06T05:03:09Z","updated_at":"2018-05-06T05:03:09Z","closed_at":null,"author_association":"NONE","body":"Hi, I think it would be neat if your could request a variable number from a node script inside the animator tree.\r\n\r\nBy example, It would be neat to get from a node script the velocity based on gameplay loop of player or enemy status and update a keyframe value based on it.\r\n\r\nMaybe that way you could have diferent power ups with diferent rigidbody velocity keyframes using a single animation.\r\n\r\nMaybe some conditional logic and the same animation could be dyed red or another color based on a powerup variable.\r\n"}}
{"actor":{"display_login":"ca3games"}}