I was wondering if there is a standard way of causing damage to a character based on how hard it runs into an object or if something falls on it.
My first try I am attempting is storing the x and y from the last frame and if there is a drastic change in velocity but that doesn’t account for if something hits the character.
Any thoughts?