setRainBounceRestitution
setRainBounceRestitution
Description
Sets the coefficient of restitution for the bounces (essentially, how much a particle slows down upon bouncing). Defaultvalue 0.25 (75% slowdown per bounce).
Definition
setRainBounceRestitution(entityId precipitationEntity, float restitution)
Arguments
| entityId | precipitationEntity | precipitationEntity |
|---|---|---|
| float | restitution | coefficient of restitution |