Download

Trying to make Oscilloscope type of mechanic

Hi I’m trying to make a game mechanic that is in essence a matching oscilloscope sound mechanic. Not sure where to begin but I would like the user to be able to visually see a sine wave on a screen. Then having another screen that they can manipulate (using analog sticks) another sine wave on that screen, in order for them to match, once matched it then would trigger an event. Anyone that could help or possibly point me in the direction to a tutorial of something similar that would be greatly appreciated.

I’m not a material expert, but I a few years back I did something like this (the gaps are because the of texture I used):

I started with a sin wave texture:

Then I created the material with the sin wave I wanted:

And then another material with parameters to allow me to change the wave (period and speed) in BP:

Maybe there is a way to generate a sin wave without a texture, but I was in a hurry and didn’t have time to delve into materials.