Regular API function

simGetObjectFloatParam / sim.getObjectFloatParam

Description Retrieves a floating-point parameter of a scene object. See also the other object parameter related functions
C/C++
synopsis
simInt simGetObjectFloatParam(simInt objectHandle,simInt parameterID,simFloat* parameter)
C/C++
parameters
objectHandle: handle of the object
parameterID: identifier of the parameter to retrieve. See the list of all possible object parameters
parameter: retrieved parameter
C/C++
return value
-1 in case of an error, 0 if the parameter could not be retrieved, or 1 if operation was successful
Lua synopsis float parameter=sim.getObjectFloatParam(int objectHandle,int parameterID)
Lua parameters
Similar to the C-function counterpart
Lua return values
parameter: retrieved parameter
Python synopsis float parameter=sim.getObjectFloatParam(int objectHandle,int parameterID)