<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