As a part 2 of my Lets Make: Pawn from Blueprint in a Blank Project https://forums.unrealengine.com/showthread.php?570-Lets-Make-Pawn-from-Blueprint-in-a-Blank-Project
I would like to add a damage system. The idea is simple, if you hit a wall with speed greater than x you get damaged. This BP is based on pawn , I know that the Character BP has “Get current acceleration” Anyway…
Physics time…
As far as I am familiar with physics My idea needs an acceleration value ( I am going to ignore the mass of the objects and the contact area for simplicity ).
When the Abs value of the Acceleration is greater than some number we are going to damage the player.
and according to this http://www.wikihow.com/Calculate-Acceleration
The problem is that I don’t know how to get the t1 t2 v1 and v2 in BP
I can get some vars from the beginning of the the button press but in this case when the floor collapses and the player has not pressed a button (he may but we are not sure) we won’t get fall damage.
Additional thoughts:
I can damage the player if he exceeds a certain amount of speed but this doesn’t work for simulating a person.
Post ideas:)