class CollisionSoundSystem

in global :: Sandbox

This system exists to collect pending collision sounds and filter them into a unique set, to avoid unnesssary sounds playing, when they're going to be making the same sound anyway.


public void RegisterCollision( ref Collision collision )

Register this physics collision with the sound system

public void AddShapeCollision( PhysicsShape shape, Surface surface, ref Vector3 position, float speed )

Add a collision sound for this shape

public void AddShapeCollision( PhysicsShape shape, Surface surface, ref PhysicsContact contact )

Add a collision sound for this shape

public Scene Scene { get; }

😔 No documentation found.

public void Dispose( )

😔 No documentation found.

public Guid Id { get; }

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public CollisionSoundSystem( Scene scene )

😔 No documentation found.