I am creating an elevator as a dynamic component. I want the floor number to be displayed based on the z-position of the elevator car. Can I use an if - then statement to change the floor number on the display? What would be the best strategy to accomplish this?
Do you really need that level of detail? I don’t know if it can be done using dynamic components but if you’re going to do an animation you can use tags for different scenes or plugins like fredo Animator or keyframe animator to do something like that.
Show/Hide the Floor level Numbers-component depending on the current floor level.
You could create custom variable and set it when you change the elevator floor, and on each floor set the visible property to that floor variable value. It could also have a control interface that when you change the floor number value, the elevator moves to that floor. I created a pipe flange dynamic component that has an interface listing 6 different sizes, each referring to a hidden object with the matching size. When the size is chosen, that size object becomes visible. You could do this with a separate elevator object on each floor hidden, then show the one relative to the chosen floor value.