Announcement

Collapse
No announcement yet.

How to check if player is under water?

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

    How to check if player is under water?

    Found this photo in the answer hub that was asked back last year.

    Click image for larger version

Name:	37720-checkifunderwater.png
Views:	1
Size:	97.3 KB
ID:	1224920

    It seems in the function I would need to check if the player is underwater, so they could start losing breath. My question is how would I go about making this function to check if the player is under water?

    Also, what is that SWIMMING node? can't figure out exactly what node that is.

    #2
    https://wiki.unrealengine.com/Bluepr...ment_Component

    Swimming node is "==" (equals), to set the new mode.
    u can use "select" or something as well.

    Comment

    Working...
    X