no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | ref:lua_actuator [2023/12/14 16:03] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== LuaActuator ====== | ||
+ | Actuator type for use in lua scripting. | ||
+ | |||
+ | See [[script_controller|ScriptController]] and [[script_measure|ScriptMeasure]] for details on scripting. | ||
+ | |||
+ | ==== Public Functions ==== | ||
+ | ^ Function ^ Description ^ | ||
+ | | LuaString **name**() | get the name of the actuator | | ||
+ | | void **add_input**(LuaNumber value) | add a value to the normalized actuator input | | ||
+ | | LuaNumber **input**() | get the current actuator input | | ||
+ | | LuaNumber **min_input**() | get minimum allowed value for actuator input | | ||
+ | | LuaNumber **max_input**() | get maximum allowed value for actuator input | | ||
+ | |||
+ | < | ||