In this video, we will go over how to better organize the code of a Python script that sets up a camera to track an empty.
Start Code:
https://gist.github.com/CGArtPython/c4f91fc13d025c1b0a61476dcf81891e
Final Code:
https://gist.github.com/CGArtPython/7fb9f9ad079408ebe1f81b18f1928f72
00:00 – Intro
00:18 – Get Code
00:36 – Setup Code
02:05 – Goal of the exercise
02:40 – Create a function for setting the end frame
09:10 – Create a function for creating a row of cubes
11:15 – Create a function for adding an empty
13:27 – Exercise: create the rest of the functions
13:54 – Go over the rest of the functions
19:36 – Outro
Beginner Blender Python Exercise: Track an empty with a camera (part 2)
- Price type: Free