Vehicles, machines and physics

HapticBounce: a sample linking a tactile pulse to a collisionThe ball’s collisions trigger audio and haptic feedback
HapticBounce (Apple sample)HapticBounce: a sample linking a tactile pulse to a collision
  1. The ball’s collisions trigger audio and haptic feedback
© Apple / WWDC 2019 · Source ↗

The tactile signal follows a physics model. HapticBounce produces stronger feedback when the ball hits the screen edge faster.

Design tips

  • Choose a model parameter for signal strength and bound its maximum level.

Examples