HapticsService - SC-SGS/surviving-sarntal GitHub Wiki

Purpose

This page gives an overview of the haptic feedback the game provides.

Description

The HapticsService is used to give haptic feedback to the user when one of the following events happens in game:

  • The player gets hit by a rock. In this case, the strength of the effect depends on the size and velocity of the rock that hit the player
  • The player dies

If one of these events happens, the corresponding gamepad will vibrate if connected.

⚠️ **GitHub.com Fallback** ⚠️