skip to Main Content

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.

Controllers & Expressions Series announcement graphic

Rigging a simple door
part 2 of 2

If you missed part one, it’s here.

Expression introduced:
  • linear( )
Video content:
  • 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[0];
R=linear(C,50,150,0,104);
R
Back To Top