# Checking if player is in water volume?

**URL:** <https://forums.unrealengine.com/t/checking-if-player-is-in-water-volume/315285>\
**Category:** World Creation\
**Tags:** Environment, Water, unreal-engine, Physics, Blueprint, question\
**Created:** [April 16, 2015, 3:55pm UTC](https://forums.unrealengine.com/t/checking-if-player-is-in-water-volume/315285 "2015-04-16T15:55:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shirk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shirk](https://forums.unrealengine.com/u/Shirk)\
**Post date:** [April 16, 2015, 3:55pm UTC](https://forums.unrealengine.com/t/checking-if-player-is-in-water-volume/315285/1 "2015-04-16T15:55:44Z")

</div>

Im trying to check whether or not a player is in a water physics volume so I can apply some screen effects and also allow the player to swim upwards if they press space bar. Im not quite sure how to do this.

Also another issue Im having as that physics objects are not affected by the physics volume at all and fall right through it. Ive set up a physical material and all that, but it doesnt work.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e955dac61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e955dac61](https://forums.unrealengine.com/u/anonymous_user_e955dac61)\
**Post date:** [April 16, 2015, 4:12pm UTC](https://forums.unrealengine.com/t/checking-if-player-is-in-water-volume/315285/2 "2015-04-16T16:12:47Z")

</div>

A very simple way of doing this if your character has a CharacterMovementComponent is to check it’s movement mode - if it’s “Swimming”, you can be fairly sure you’re inside a water volume.

Water volumes have no inherent buoyancy programming, so you will have to solve that yourself (or take a look at this: [[Community Project] WIP Weather & Water Shader - Game Development - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?42092-Community-Project-WIP-Weather-amp-Ocean-Water-Shader))

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_20899a9b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_20899a9b](https://forums.unrealengine.com/u/anonymous_user_20899a9b)\
**Post date:** [May 21, 2015, 7:28am UTC](https://forums.unrealengine.com/t/checking-if-player-is-in-water-volume/315285/3 "2015-05-21T07:28:55Z")

</div>

Check this out, It’ll guide you a lot

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...
