Hi, I’m making a third person platformer, and I’m currently trying to make my character swim and dive.
In a previous similar project, I made a volume around the character’s head in his blueprint, and when that volume was overlapped by water, it would make the “air meter” deplete. It worked well. But because of a hard drive failure I had to restart from scratch, so I made a new project, and tried to do something similar, but strangely, the volume that I created (that I called HeadVolume) doesn’t detect any overlapping volume. Here’s what the basic setup looks like :
http://puu.sh/oelvY/5362316b05.jpg
And I use this to see if the head volume is underwater or not :
http://puu.sh/oelHv/d0d5fa4fd9.jpg
But whatever I do, I keep getting “false”. I tried changing the volume’s collision properties, to no avail.
To see if I did something wrong with the blueprint, I tried replacing “HeadVolume” by “CapsuleComponent”, but then the blueprint behaves correctly : Printing “true” while swimming, printing “false” while not.
I’m kind of stumped here, I also tried moving the HeadVolume out of the CapsuleComponent, in case the problem was caused by those two volumes overlapping each other, but the problem is still there.
I would be thankful if I could get help.