nanos world API Reference Unofficial documentation
Function Server Fast

Cable:SetAngularMotorTwistAndSwingVelocitySettings

Sets which twist and swing angular velocity drives are enabled and the target angular velocity

Syntax

Lua
my_cable:SetAngularMotorTwistAndSwingVelocitySettings(enable_drive_twist = false, enable_drive_swing = false, strength = 0, target = Vector(0, 0, 0))

Parameters

Name Type Default Description
enable_drive_twist optional boolean false Enable the twist angular velocity drive
enable_drive_swing optional boolean false Enable the swing angular velocity drive
strength optional float 0 Velocity strength of the drive (damping)
target optional Vector Vector(0, 0, 0) Target angular velocity