Regular API function

simCreateDummy / sim.createDummy

Description Creates a dummy.
C synopsis simInt simCreateDummy(simFloat size,const simFloat* color)
C parameters
size: the dummy size
color: pointer to 4x3 values representing the dummy color (ambient/diffuse rgb, 3 reserved values (set to zero), specular rgb and emission rgb). Can be NULL for default values
C return value
-1 if operation was not successful, otherwise the handle of the dummy
Lua synopsis number dummyHandle=sim.createDummy(number size,table_12 color=nil)
Lua parameters
Same as C-function
Lua return values
Same as C-function
Remote API equiv.
B0-based remote API: simxCreateDummy
Legacy remote API: simxCreateDummy

All regular API functions on one page