by epsilonion » 19 Nov 2017, 22:34
I have thought about hit boxes on my player character, the way I have thought about it is attaching basic geometry in places of legs, arms, chest and head, when they detect a collision and that collision is a bullet then the one(s) that detect the hit calls the players script and reduces the health of a player dependent on where the player is hit.
The pony problem I have faced on this is the player gets hit when shot in the space between the legs.
Using your space ship example you could place them where sub-systems are on that space ship and disable a part of it when it gets damaged xx percent. without effecting the overall health of the space ship if you wanted it that way, say engine is hit and knocked out but the rest of the ship is at 100%.
I don't know how this would work using the visual mechanics but using hit boxes is possible.
Skyline Help: