Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

ControlP5: ControllerProperty register(..) and setSnapshot/getSnapshot Help needed

$
0
0

I try to register new controller property 'Position' and then change it by setSnapshot/getSnapshot, but it doesn't work. As an example, I've modified ControlP5Snapshot sketch by adding

cp5.getProperties().register(cp5.getController("k"), "Position");

to the end of the setup(). And some way to change "K" knob position by the user input. After running the sketch I set two snapshots with different knob positions. But when I try to get the the snapsots, values change, but the knob position is not. I've checked properties list and position property is in it:

/k setPosition, getPosition [default]

Any help?

Thnanks.


Viewing all articles
Browse latest Browse all 2896

Trending Articles