Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Condiviso Lento

Character:PlayAnimation

Plays an Animation Montage on this character

Non ancora tradotto

Sintassi

Lua
my_character:PlayAnimation(animation_path, slot_type = AnimationSlotType.FullBody, loop_indefinitely = false, blend_in_time = 0.25, blend_out_time = 0.25, play_rate = 1.0, stop_all_montages = false)

Parametri

Nome Tipo Predefinito Descrizione
animation_path AnimationPath — —
slot_type facoltativo AnimationSlotType AnimationSlotType.FullBody —
loop_indefinitely facoltativo boolean false —
blend_in_time facoltativo float 0.25 —
blend_out_time facoltativo float 0.25 Pass it -1 to disable auto blend out and keep the animation running in last pose forever
play_rate facoltativo float 1.0 —
stop_all_montages facoltativo boolean false Stops all running Montages from the same Group