ULimenCharacterMovementAudioData
Overview
ULimenCharacterMovementAudioData is a data asset class that extends UDataAsset. It is used to store and manage audio properties such as steps sounds and their attenuation settings, which are associated with different physical materials. This allows for dynamic audio responses based on the character's movement on various surfaces.
Properties
Type | Name | Access | Description |
|---|---|---|---|
TSoftObjectPtr | PhysicalMaterial | EditAnywhere | The physical material that determines which audio properties to use. |
TSoftObjectPtr | StepsAudio | EditAnywhere | The sound asset played when the character takes a step on the associated physical material. |
TSoftObjectPtr | Attenuation | EditAnywhere | The attenuation settings for the steps audio, controlling how it fades out with distance. |
Functions
No significant functions are defined in this class.
Usage & Implementation Notes
This data asset is intended to be used in conjunction with a character movement component that can query and apply these properties based on the current physical material of the character's feet.
The use of
TSoftObjectPtrensures that assets can be referenced without immediately loading them, which can improve performance by deferring asset loading until it is necessary.