Skip to main content
Participant
March 21, 2023

Point Effect Values Contain Decimals

  • March 21, 2023
  • 1 reply
  • 256 views

I was writing an expression using the 3D Point Control effect and noticed that certain input values get approximated, including a long string of decimals.  This becomes problematic when trying to use the effect in expressions that perform operations on the value (i.e. the modulus of the 3D Point Control value).  This only seems to be certain values of 3D Point Control effect and also the Point Control effect.

 

 

 

1 reply

Dan Ebberts
Community Expert
Community Expert
March 21, 2023

A long time ago, as I recall, one of the Adobe engineers told me that point controls get different processing than sliders and therefore aren't as reliable for passing integer values. So I generally avoid using them that way. You could round the value if you know it should always be an integer.