I am using a hit-bar made from an elongated cube primitive over my enemy.
My problem is this: Unity 3d objects only have a scale value and so you can't simply set length to 100 to match your hitpoints and reduce by variable subtract like you can in 2d. So I set my scale to 1 which looks about right and reduce it in float increments to 0.0 and it works great. However, my damage and hitpoints are still based on 100s system 0-100. I can't seem to wrap my math-poor brain around how to convert say 57 incoming damage into .057 float value using Playmaker actions.