Description
Adds the specified sound for a collision between two physical bodies with the specified surfaces.
Syntax
UBE_AddCollisionSound( Sound.i, Surface.i [, OtherSurface.i ] )
Parameters
Sound | The number of the sound. |
Surface | The number of one of the surfaces. |
OtherSurface | The other number of the surface or #UBE_ANY (by default) for all other surfaces. |
Return value
None
Remarks
The sound is played automatically (with its parameters like volume or range)
if there is a collision between the given surfaces.
See also