Vizard 8 » Command Index » Vizard objects » VizPhysicsShape » <VizPhysicsShape>.getBounce
8.0

<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)