In the Behavior Tree, when I want the player die right away, I use the Invoke Method node to call Die method, and then use Damage node to reduce character's health to 0. I use Die first because I need to activate Ragdoll after the character died.



But I think the Invoke Method (Die) node is unnecessary if I can pass Force, Attacker and Position to Damage node. I think there must be a way to do that because it is a public method in Health class.
Thanks!



But I think the Invoke Method (Die) node is unnecessary if I can pass Force, Attacker and Position to Damage node. I think there must be a way to do that because it is a public method in Health class.
Thanks!
Last edited: