Modal operators! In this provisionally final episode of Scripting for Artists, Sybren shows how to create operators that can stay running for a longer period of time.
- 00:00 Intro
- 00:43 What does "modal" even mean?
- 02:16 Ingredients of a modal operator
- 03:16 Handling events
- 07:53 Interactively moving the viewport camera
- 15:27 Calling the operator from Python
- 16:27 Blocking or passing-through events
- 17:53 Timers
- 19:06 Conclusion & getting help
1 Comments
Join to comment publicly.
Anže Orehek
10th November 2020 - 21:43
I'd love to see a video that goes over the code for switching a rig from FK to IK. The "switcher" code exists on the Rain character but it is a bit hard to understand for me :)