How can I create a simple sine wave in unity 2D that can be controlled by frequency and amplitude?
I am a complete beginner and have had limited exposure to the engine. I am sorry I am not posting my attempts at achieving it as I honestly dont know where to start. I am grad student and will be grateful for any help and I will make sure I credit you in my work. Thanks
sorry but your question could lead everywhere. is it the formula you don't know? A line renderer you don't know how to configure? a way to visualise a sine wave? too broad, narrow it down to what you want to know... and what you already have
hey @hexagonius, Thanks for replying and sorry for the late response. A line renderer seems to be what relates to what i want the most. I want to create a line on my game screen that is a continuous sine-wave and i want to control the frequency and amplitude using the analog sticks respectively.
sine wave reference:
http://www.digitalmediatree.com/library/image/12/sinewave.gif