Animate Model
Description
Programmatically animates a model's bone, without relying on animations
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| m | mid, model, modelid | The model to target | |
| p | pid, part, partid | The bone to target and animate | |
| em | exact, match, exactmatch | Whether the bone's name should exactly match the provided partid attribute. If set to false, every bone whose name contains partid's value will be targeted | true |
| position | pos | The position of the animation | 0,0,0 |
| rotation | rot | The rotation of the animation | 0,0,0 |
| scale | scl | The scale of the animation | 1,1,1 |
| r | rel, relative | Whether the provided values should be treated as relative to the current bone's position | false |
| o | ov, override | Whether the mechanic is used to override the bone's animation using animate mechanic or reverting to normal animation | false |
| copy | Whether to copy the bone's original transform | true | |
| rm | rotmode | The rotation mode. Can be LOCAL or GLOBAL | LOCAL |