Interactable.setSteeringJointSettings
Sets the settings of a Joint connected to a steering Interactable.
Kind: Function
Environments: Game
Game
interactable:setSteeringJointSettings(
joint,
leftAngleSpeed,
rightAngleSpeed,
leftAngleLimit,
rightAngleLimit,
unlocked
)
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
interactable |
Interactable | The interactable. |
joint |
Joint | The joint. |
leftAngleSpeed |
number | The left angle speed. |
rightAngleSpeed |
number | The right angle speed. |
leftAngleLimit |
number | The left angle limit. |
rightAngleLimit |
number | The right angle limit. |
unlocked |
boolean | Whether the joint is unlocked. |