Regular API function
simSetEngineInt32Param / sim.setEngineInt32Param
Description
|
Sets an int32-type physics engine property. You might have to call sim.resetDynamicObject for changes to take effect. See also the other engine properties setter and getter API functions. |
C/C++ synopsis
|
simInt simSetEngineInt32Param(simInt paramId,simInt objectHandle,const simVoid* object,simInt val) |
C/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 nullptr to set a global engine parameter. If nullptr, then the objectHandle argument will be evaluated.
val: the new property values.
|
C/C++ return value
|
1 in case of success. This function call doesn't generate any error message.
|
Lua synopsis
|
sim.setEngineInt32Param(int paramId,int objectHandle,int int32Param) |
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
|
Python synopsis |
sim.setEngineInt32Param(int paramId,int objectHandle,int int32Param) |
|