Search Unity

Question Starter asset Character controller Swimming in water

Discussion in 'Getting Started' started by PlayIgames, Oct 7, 2022.

  1. PlayIgames

    PlayIgames

    Joined:
    Oct 26, 2021
    Posts:
    40
    Hello I am working on a third person shooter game with unity starter asset. Everything work fine but I want create character controller Swimming On water Surface but I don't know how to do this I am very troubling for this topic please anyone help me. How to Create swimming system for starter asset please anyone reply me.
     
  2. kspecific2011

    kspecific2011

    Joined:
    Sep 8, 2022
    Posts:
    14
    To make a character swim, just rotate the transform y (the vertical axis pointing height-wise up) by -90 or 90, and play an animation for him to make him look like he's swimming (you create the animation for characters in an external 3D modeling program). Basically the character is flying, but under a box or plane shader, and add a couple of particle creating effects (VFX) under the box or plane to make water streaming underwater.