Vizard 7 » Command Index » Vizard objects » VizPhysicsShape » <VizPhysicsShape>.getBounce
7.7

<VizPhysicsShape>.getBounce

Gets the bounce of a physics shape.

<VizPhysicsShape>.getBounce()  

Remarks

Return Value

The bounce value.

Example

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

Alternate Method:
print(shape.bounce)