natiny.animator.pause
natiny.animator.pause(animator)
Stops the clock without moving the clip, so the model holds the pose it is in.
Parameters
| Name | Type | Description |
|---|---|---|
animator |
number |
Animator handle from natiny.animator.create |
Example
natiny.animator.pause(hero_legs)
Notes
- Unlike
natiny.animator.stop, the time is kept. Callingnatiny.animator.playrestarts the clip; callnatiny.animator.seekafterward to restore the saved time.