Author Topic: Hit Locations?  (Read 721 times)

Hello there! I was wondering if there was a way (preferably without lots of math) to check which of the player's nodes was hit?

In case you didn't get that, what I want to do is make it so that when you get hit, if the attack does enough damage, it turns the body part that was hit dark red.

You can check for the collision point, compare it to the players location and pretty much guess what body part it hit. Check some existing codes for weapons that include headshots.

Yeah player collision is done with a box.  You're pretty much stuck doing lots of math.

You could do it similar to the paint can and just check the Z axis. Could throw in a left/right check for feet/hands.