![]() "variable.foo = math.sin(query.life_time) "īecause foo is equal to a sin wave, its values will range from -1 to 1. If a variable didn't exist, it will create a new variable and its default value will be 0.0. ![]() Pre_animation tells the script to figure out the values of those variables once a frame before animation occurs so that the animation can use those values in its formulas. This script will set foo to the result of the sine of query.life_time to later be used in the animation or animation controller. Controller files are stored as JSON in the animation_controllers folder. Each controller contains a list of states that play one or more animations, each of which can be blended by a Molang expression if so desired. ![]() Animation controllers decide which animations to play and when. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |