-
Replace a comma with a dot in wiggle expression
I want to gradually have more camera shake in my 3d camera. After a bit of searching, I found out I had to make two slider expressions on a null object, and use the pick whip to connect those with my camera. Then I could keyframe my amplitude and frequency. Now my expression for my Camera Orientation is:
wiggle(thisComp.layer(“Null 1”).effect(“frequency”)(“Slider”),thisComp.layer(“Null 1”).effect(“amplitude”)(“Slider”))
Problem is, in the period between keyframes my camera starts shaking like crazy. I suspect this has something to do with me living in a country that uses commas instead of dots. So the value of my slider is a number with commas. Problem is, numbers inside expressions are still with dots instead of commas, which basically causes the wiggle on a random moment between two whole numbers to be (for example):
wiggle(1,4,5,2)
This makes the camera shake more than I want it to. Is there any way to “convert” this to:
wiggle(1.4,5.2)
I’d much appreciate a solution!Sander
wiggle(thisComp.layer("Null 1").effect("frequency")("Slider"),thisComp.layer("Null 1").effect("amplitude")("Slider"))