I tried to use the command simSetObjectSpecialProperty() in the regular API. I wanted an object to be renderable, collidalbe, cuttable, measureabe, detectable_all. The documentation says:
This did NOT work for me!Scene object special properties can be combined with the OR operator
V-Rep Version is 3.3.0.
It is the "+"-Operator which is working:
Code: Select all
simSetObjectSpecialProperty(object_handle,sim_objectspecialproperty_renderable+sim_objectspecialproperty_collidable+sim_objectspecialproperty_cuttable+sim_objectspecialproperty_detectable_all+sim_objectspecialproperty_measurable)
Thanks and kind regards!