Announcement

Collapse
No announcement yet.

Looking for fall damage tutorial

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    There are multiple ways to achieve fall damage. Personally I use the player movement's "IsFalling" value. As soon as it start I check the player's height. Then when it ends (when the player lands) i check the player height again and then compare it to the height at the begiining of the jump. If this value is bigger than say 5 meters, the player get's fall damge. The higher the fall height the bigger the damage. Very easy to implement really. If I have time I'll share the blueprint code.

    Comment


      #17
      Click image for larger version

Name:	8Jur609.jpg
Views:	1
Size:	426.2 KB
ID:	1126814

      Current State of BP
      Attached Files
      Last edited by GuilhermeAU; 04-24-2017, 12:31 AM.

      Comment


        #18
        I managed to fix it because I was using negative numbers
        Thank you all for helping me

        Comment

        Working...
        X