Description
|
Sets the material (used by the physics engines) of a specific shape. You might have to also call sim.resetDynamicObject for changes to take effect. |
C/C++ synopsis
|
simInt simSetShapeMaterial(simInt shapeHandle,simInt materialIdOrShapeHandle)
|
C/C++ parameters |
|
C/C++ return value
|
-1 in case of an error.
|
Lua synopsis
|
sim.setShapeMaterial(int shapeHandle,int materialIdOrShapeHandle)
|
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
|
Python synopsis |
sim.setShapeMaterial(int shapeHandle,int materialIdOrShapeHandle) |