Regular API function

simSetFloatParameter (remote API equivalent: simxSetFloatingParameter)

Description Sets a floating point parameter. See also simGetFloatParameter, simSetBoolParameter, simSetArrayParameter and simSetInt32Parameter.
C synopsis simInt simSetFloatParameter(simInt parameter,simFloat floatState)
C parameters
floatState: new state for the parameter
C return value
-1 if operation was not successful. In a future release, a more differentiated return value might be available
Lua synopsis number result=simSetFloatParameter(number parameter,number floatState)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page