#Right click to launch animation
1 messages · Page 1 of 1 (latest)
in your anim controller, make a variabke to test if the player is holding a diamond.
ex : variable.hold_diamond = query.is_item_name_any()
and in your rp animation controller, make 2 states that is default and on_hit.
to transition to on_hit, use variable.attack_time > 0.1 && variable.hold_diamond
at on_hit, play the animation that you want to play and then transition back to default using query.any_animation_finished
Oh thanks a lot
And can we verify when Player right click rather than when he hit the entity ?
for that you must use scripts
Oh I see, ans how to check when right click on an entity with script ?
For that i am sorry but i have no experience related to scripts yet
Okay, thanks for your help !
so you must search for one or create a new forum in #1067535382285135923
Okay 👌🏻
Right click to launch animation