Hello,
so my goal is to find the parameter to change the position of the sun but for some reason i cant find the one used by corona.
Making a script to change the position of the corona sun based on the time selected in a drop down menu
this is what i have tried so far but recive this error
"06:00": sun.position = eulerangles [0, 0, 0]
-- Error occurred in anonymous codeblock; filename: "" position: 899; line: 29
-- MAXScript Rollout Handler Exception:
-- Argument count error: EulerAngles wanted 3, got 1
-- MAXScript callstack:
-- thread data: threadID:9404
-- ------------------------------------------------------
-- [stack level: 0]
-- In TOD.selected(); filename: "" position: 900; line: 29
-- member of: Rollout:SLA
-- Parameters:
-- sel: 2
-- Locals:
-- sel: 2
-- TimeofDay: "06:00"
-- Externals:
-- owner: Rollout:SLA
-- TOD: RolloutControl:TOD in rollout:SLA : ComboBoxControl:TOD
-- SLA: Rollout:SLA
-- sun: Object
-- ------------------------------------------------------
-- [stack level: 1]
-- called from top-level