YACC YACC
YACC YACC
Made with ❤️ for Unity

Search Results for

    Class WheelSuspensionAudio

    This Audio script plays a random AudioClip from the defined array of clips every time when a sudden force is applied to the wheel collider. This is useful for playing suspension compression sounds.

    Inheritance
    object
    WheelSuspensionAudio
    Namespace: YACC.Audio
    Assembly: .dll
    Syntax
    public class WheelSuspensionAudio : MonoBehaviour
    Remarks

    Requires a WheelCollider component to be attached, does not rely on the CarEngineController to be present but it must need to be attached to each wheel that you want to play the suspension sound on.

    Fields

    Name Description
    minForce

    The minimum actuation force required to play the suspension sound.

    suspensionSounds

    The sound clips to play when the suspensions are compressing.

    © Deimos Industries Ltd. All rights reserved.