sim.setEngineFloatParam

Sets a double-type physics engine property. You might have to call sim.resetDynamicObject for changes to take effect

Synopsis

sim.setEngineFloatParam(int paramId, int objectHandle, float floatParam) sim.setEngineFloatParam(int paramId, int objectHandle, float floatParam)

Arguments

  • paramId: engine parameter identifier.
  • objectHandle: handle of the shape or joint, or -1 to set a global engine parameter
  • floatParam: the new property value


See also: