How do I make a water physics volume where the player can swim?

Which template are you using? And is it code or Blueprints?