Regular API function

simSetFloatParam / sim.setFloatParam

Description Sets a floating point parameter. See also the other simulator parameter related functions.
C/C++
synopsis
simInt simSetFloatParam(simInt parameter,simFloat floatState)
C/C++
parameters
floatState: new state for the parameter
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.setFloatParam(int parameter,float floatState)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.setFloatParam(int parameter,float floatState)