UKismetInputLibrary::CalibrateTilt
#include "Kismet/KismetInputLibrary.h"
Access: public
Specifiers: staticBlueprintCallable
Description
Recalibrates the device's tilt input, treating its current orientation as the new neutral/zero position.
Caveats & Gotchas
- • Has no effect on devices without a tilt/motion sensor — it silently does nothing rather than warning.
- • Only affects tilt-based motion input (device orientation), not gamepad thumbstick or other motion controller axes.
Signature
static void CalibrateTilt(); Return Type
void Example
Calibrate tilt on demand C++
// Typically bound to a UI button so the player can re-zero device tilt
UKismetInputLibrary::CalibrateTilt(); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?