Yes, that’s the basics. I’d also clamp health to zero or above, and then check after setting health to see if it’s 0 (branch node and the = node), then you can run your breaking logic off that (your effects, etc)
Yes, that’s the basics. I’d also clamp health to zero or above, and then check after setting health to see if it’s 0 (branch node and the = node), then you can run your breaking logic off that (your effects, etc)