-
How to make each option in a dropdown menu to executing a set of data?
I’m creating a 3D camera animation template with the goal of exporting it as a .mogrt for PR users. The controllable properties include animation duration, media replacement, media position adjustments, and the ability to choose from multiple pre-set camera angles. The path animation for each camera angle is pre-defined, and the user won’t have control over it. Since the duration is variable, it’s tricky to set keyframes directly, so the camera path animations are done through expressions. In short, each camera angle animation is achieved using XYZ rotation and position parameters. For example, the parameters for the first angle might be a 15° Y-axis rotation and 200 units of X-axis position movement. Ideally, I’d like these camera animations to be presented in a dropdown menu, with options like:
- Bottom to top
- Top to bottom
- Left to right
- Right to left
I have created and linked all the properties on a null object, but how should I encapsulate a bunch of position and rotation data into different options? I mean manually writing expressions on each property is tedious and hard to tweak, right? Any better solutions?