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

<VizPhysicsShape>.setBounce

Sets the bounce of a physics shape.

<VizPhysicsShape>.setBounce(  
value  
)  
value

Remarks

Return Value

None

Example

ball = viz.add('ball.wrl')
shape = ball.collideBox()
shape.setBounce(.5)

Alternate Method:
shape.bounce = .5