Notifications
Clear all

[Closed] Scripting Targeted Camera "Use Target as Up Node"

In the controllers menu for targeted cameras there is an checkbox option for this. How do I check this box using a script. Thanks in advance for your help.

-bnvm

2 Replies
1 Reply
(@bobo)
Joined: 1 year ago

Posts: 0

$Camera01.transform.controller.UseTargetAsUpNode = true

See “LookAt : Matrix3Controller” topic in the reference.

Historically speaking, Target Cameras and Lights still use the pre-Max 4 LookAt Transformation Controller instead of the new LookAt Constraint. That’s why you have to access the transform.controller of a TargetCamera to change the property. Note that the checkbox will not be updated automatically in the Motion panel unless you change to another panel and go back to the Motion tab.

great thanks I have been messing with that for hours.

-bnvm