Regular API function

simSetEngineFloatParameter

Description Sets a float-type physics engine property. You might have to call simResetDynamicObject for changes to take effect. See also the other engine properties setter and getter API functions.
C synopsis simInt simSetEngineFloatParameter(simInt paramId,simInt objectHandle,const simVoid* object,simFloat val)
C parameters
objectHandle: the handle of the shape or joint, or -1 to set a global engine parameter. If -1, then the object argument will be evaluated.
object: a pointer to a shape or joint objects, or NULL to set a global engine parameter. If NULL, then the objectHandle argument will be evaluated.
val: the new property values.
C return value
1 in case of success. This function call doesn't generate any error message.
Lua synopsis number result=simSetEngineFloatParameter(number paramId,number objectHandle,number floatParam)
Lua parameters
Similar as C-function
Lua return values
result: 1 in case of success. This function call doesn't generate any error message.

All regular API functions on one page