Signature
Usage
Return Value
Notes
- The array is recomputed only when the model changes (e.g., after
loadScene()) - Returns a stable reference — safe to use in dependency arrays
- For reading/writing individual actuator values, see
useCtrl
data.ctrl. New actuator
metadata includes ctrlAdr, ctrlCount, and ranges. A PID or orientation
actuator can own multiple inputs. Write a complete vector with
api.setCtrl(name, values) or access one input with useCtrl(name, inputIndex).
Calling scalar-only controls on a multi-input actuator without an input selector
throws an actionable error.