Import Feelix Effects
Initialize the Effect
EffectConfig_s zigzag_spring_config {
.data_size = 6,
.angle = 100,
.quality = 20,
.effect_type = Effect_type::INDEPENDENT,
.control_type = Control_type::TORQUE
};
float data_zigzag_spring[] = {1.0, 0.4, 0.8, 0.2, 0.6, 0.0};
FeelixEffect zigzag_spring = FeelixEffect(zigzag_spring_config, data_zigzag_spring);Play a Haptic Effect
Play a Velocity Effect
Change Feelix Effect Settings
Last updated
Was this helpful?