Skip to content

MotionSFXSelection ​

Inherits: SFXSelection < Resource

Specialized SFX selection for motion sound effects (footsteps, movement)

Properties ​

Stringentity_type"humanoid"
Stringsurface"stone"
Stringmovement"walk"

Methods ​

Array[String]get_available_entity_types()
Array[String]get_available_surfaces()
Array[String]get_available_movements()
AudioStreamget_sound_resource()

Property descriptions ​

String entity_type = "humanoid" ​

The kind of entity that walks (humanoid ...).

String surface = "stone" ​

The ground it walks on (stone ...).

String movement = "walk" ​

The kind of movement (walk, run ...).

Method descriptions ​

Array[String] get_available_entity_types() ​

The kinds of entity the database has footsteps for.

Array[String] get_available_surfaces() ​

The surfaces the database has footsteps for, for the entity type chosen.

Array[String] get_available_movements() ​

The movements the database has footsteps for, for the entity type and surface chosen.

AudioStream get_sound_resource() ​

The sound this selection points to, or null when it is not set.