Progetto H — API Reference API & Scripting Documentation
Function Server Fast

Cable:SetAngularMotorSLERPOrientationSettings

Sets whether the SLERP angular orientation drive is enabled and the target orientation

Syntax

Lua
my_cable:SetAngularMotorSLERPOrientationSettings(enable_drive_slerp = false, strength = 0, target = Rotator(0, 0, 0))

Parameters

Name Type Default Description
enable_drive_slerp optional boolean false Enable the SLERP angular orientation drive
strength optional float 0 Positional strength for the drive (stiffness)
target optional Rotator Rotator(0, 0, 0) Angular drive orientation target