- Home /
Unity 5, script for a character to be able to swim in water
Greetings! I'm currently a student and i have to create a mini game where my character must swim to certain points, but the thing is i don't know first thing about programming. I only need to make the character float above the water and be able to swim in it. Is there any way any of you could present to me a script for the character or tell me in a very detailed way what am i supposed to do? it will be of big help!
Answer by Lunix46 · Nov 02, 2019 at 10:10 AM
It depends on your setup but you can start by checking if you collide with the water and make the player float over it. Since you say you're a student, are you going to school for coding or is this all copy Pastorino code from all kinda scripts?
Your answer
![](https://koobas.hobune.stream/wayback/20220612120505im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Modifing Standard Assets FPC to swim 0 Answers
How do I make my FPS Character swim when in contact with water? 2 Answers
How to make character swim 0 Answers
Changing FPSController values via C#? 1 Answer
I need help with water as a whole 1 Answer