CanHaptic Lab 3: Communicate Something with Haply

Zoom brainstorming with Raquel

Goal

Brainstorming

Design One

I am testing three very different damping values, ended up using: 250, 400, 650
//updating damp values using buttons
public void One(int theValue) {
damp = low;
}
public void Two(int theValue) {
damp = medium;
}
public void Three(int theValue) {
damp = high;
}
//triggering the damping only when inside the surface
if (s.h_avatar.isTouchingBody(a1)) {
s.h_avatar.setDamping(damp);
} else {
s.h_avatar.setDamping(10);
}
Code available here!

Design Two

public void One(int theValue) {
damp = 0;
resetWallSensor(false);
}
public void Two(int theValue) {
damp = perturb;
resetWallSensor(true);
}
public void Three(int theValue) {
damp = sticky;
resetWallSensor(true);
}
void resetWallSensor(boolean value){
b1.setSensor(value);
b2.setSensor(value);
b3.setSensor(value);
}
Code available here!
Boolean novisual = true;

Reflection