- Home /
How to make character swim
Hi,
I had tried figuring out to do this a while back, but it looks like there hasn't been much done for this, but how do I make my FPS Controller swim? As in, W moves forward, A to the left, etc? It seems people have just adapted flying scripts to make this do something similar?
The most basic approach would be choosing a way to detect whether the player is in water, perhaps using raycasting or triggers depending on your scenario, then changing the player's response to movement to a set of methods designed for swim$$anonymous$$g / flying. So yeah, go for it.
Your answer
Follow this Question
Related Questions
Is there any flying bug scripts out there? 1 Answer
Player movment script help 2 Answers
Enemy flying issue 1 Answer
Modifing Standard Assets FPC to swim 0 Answers
Unity 5, script for a character to be able to swim in water 1 Answer