Video updated: 29 November 2018
Sections on this page:
Video 3 of the Controllers & Expressions Series:
Rigging a simple door, part 2 of 2
I‘m going to finish the Simple Door project by connecting the door to the composition panel controller. This video goes in depth about the linear( ) expression in context of the project.
- linear( )
- 0.00 Introduction
- 0.40 The linear expression in context of this project
- 2:08 Creating the linear expression in the Door’s Y rotation property expression field
- 4:11 Testing rig and a note about the value source’s range
- 5:08 End Credits
Code from the video
The code below is provided as a reference, and was copied directly from the video After Effects file. Expression fields that contained only a pick whip connection are not included.
C=thisComp.layer("Controller").transform.position; R=linear(C,50,150,0,104); R