
simSetShapeMaterial
Description
|
Sets the material (used by the physics engines) of a specific shape. You might have to also call simResetDynamicObject for changes to take effect. |
C synopsis
|
simInt simSetShapeMaterial(simInt shapeHandle,simInt materialIdOrShapeHandle)
|
C parameters |
|
C return value
|
-1 in case of an error.
|
Lua synopsis
|
number result=simSetShapeMaterial(number shapeHandle,number materialIdOrShapeHandle)
|
Lua parameters |
Same as C-function
|
Lua return values
|
Same as C-function
|
All regular API functions on one page
|