Scene object special properties can't be set by remote API

Report crashes, strange behaviour, or apparent bugs
Post Reply

Scene object special properties can't be set by remote API

Post by Baumhaus1 » 11 May 2016, 13:14

Hey there,

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:
Scene object special properties can be combined with the OR operator
This did NOT work for me!
V-Rep Version is 3.3.0.

It is the "+"-Operator which is working:

Code: Select all

Please do update/correct the online/offline documentation. It was hard to make simSetObjectSpecialProperty() with combined API-constants work!

Thanks and kind regards!
Last edited by Baumhaus1 on 01 Jun 2016, 13:29, edited 1 time in total.

Site Admin
Posts: 7007
Joined: 14 Dec 2012, 00:25

Re: Scene object special properties

Post by coppelia » 11 May 2016, 15:56


Boolean operations are not directly supported by Lua. You should use simBoolAnd32, simBoolOr32 or simBoolXor32.


Post Reply