<VizPhysicsShape>.getHardness

Gets the hardness of a physics shape.

 

<VizPhysicsShape>.getHardness()

 

Remarks

Return Value

The hardness value.

Example

ball = viz.add('ball.wrl')
shape = ball.collideBox()
print shape.getHardness()


Alternate Method:

print shape.hardness