-
source text return 3 values and include a + for positive values via a rotation slider
Hello, I have source text tied to 3 slider controls that are controlling rotation across 3 axis. What I am trying to do is force 3 values including + and – so there are always 4 characters and avoids jumping around when changing.
what I currently have looks like this…
-50X
3Y
360Zand I want to achieve this…
X-050
Y+003
Z+360I got a far as using using Math.round and +value but can’t figure out how to add the extra numbers in and include a + for positive values. I was also struggling to get +value to work at the start as opposed to the end. Thanks for any help.
Math.round(effect("Y rotation")("Slider"))+value