Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How would I wiggle only on the y-axis when using wiggle with the slider expression control?

New Here ,
Apr 08, 2023 Apr 08, 2023

How would I use the wiggle expression only on the y-axis?

I'm using two sliders. The first for the frequency and the second for the amplitude.

Here's my expression so far. This works but wiggles on both the x and y axis. I just want the y only. How would I ammend the expression below?

 

wiggle(effect("Slider Control")("Slider"),effect("Slider Control 2")("Slider"))

 

thanks.

TOPICS
Expressions
3.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 08, 2023 Apr 08, 2023


This should do it:

  • [value[0], wiggle(effect("Slider Control 1")("Slider"),effect("Slider Control 2")("Slider"))[1]]

 

I started with the following:

  • [value[0], wiggle(0,0)[1]]

 

Then used the pickwhip to connect the corresponding Slider paremeters of the Slider Control 1 and Clider Control 2  effects.

 

 

 

Translate
New Here ,
Apr 08, 2023 Apr 08, 2023


update:

the following seems to work for the y axis movement only:

[position[0],wiggle(effect("Slider Control")("Slider"),effect("Slider Control 2")("Slider"))[1]]


any advice is still appreciated

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 08, 2023 Apr 08, 2023
LATEST


This should do it:

  • [value[0], wiggle(effect("Slider Control 1")("Slider"),effect("Slider Control 2")("Slider"))[1]]

 

I started with the following:

  • [value[0], wiggle(0,0)[1]]

 

Then used the pickwhip to connect the corresponding Slider paremeters of the Slider Control 1 and Clider Control 2  effects.

 

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines