Regular API function

simGetFloatParam / sim.getFloatParam

Description Retrieves a floating point parameter. See the floating-point parameter identifiers. See also the other simulator parameter related functions.
C/C++
synopsis
simInt simGetFloatParam(simInt parameter,simFloat* floatState)
C/C++
parameters
floatState: value of the parameter
C/C++
return value
-1 if operation was not successful
Lua
synopsis
float parameterValue=sim.getFloatParam(int parameter)
Lua
parameters
parameter: parameter identifier (sim.floatparam_...)
Lua
return values
parameterValue: value of the parameter
Python
synopsis
float parameterValue=sim.getFloatParam(int parameter)