<VizPhysicsShape>.setHardness
Sets the hardness of a physics shape.
| <VizPhysicsShape>.setHardness( | |
| value |
)
value
Remarks
Return Value
None
Example
ball = viz.add('ball.wrl')
shape = ball.collideBox()
shape.setHardness(.5)
Alternate Method:
shape.hardness = .5