simGetEngineInt32Param

Retrieves an int32 value from the physics engine properties

C++ synopsis

int simGetEngineInt32Param(int paramId, int objectHandle, const void* object, bool* ok)

Arguments

  • paramId: the engine parameter identifier.
  • objectHandle: the handle of the shape or joint, or -1 to retrieve 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 retrieve a global engine parameter. If nullptr, then the objectHandle argument will be evaluated.
  • ok: an optional pointer to a value that can be used to determine the success of the API call. Can be nullptr.

Return

  • value of the requested parameter.


See also: