aestheticinteractive / Guitar-VR

An "impossible" guitar-like instrument, built to be played in VR/AR
11 stars 1 forks source link

Improve strumming at slow speeds #14

Closed zachkinstner closed 9 years ago

zachkinstner commented 9 years ago

The strum plane gets jumpy/unstable when moving the finger at slow speeds.

When the cursor is moving very slowly, it might work to use the plane-to-cursor direction (instead of the cursor motion direction) to calculate the plane normal. This could cause strange effects when moving slowly through the strum plane, since the distances would get very small.

Possibly increase the "smoothing" parameter based on the cursor speed.

zachkinstner commented 9 years ago

After the changes in #8, the low strum speeds don't seem to be causing noticeable problems.