- Home /
Change controller gravity below a certain level?
Hi there im trying to create a code for a controller that will casue a drop in gravity when it enters water, to even make it float to the top once it falls or something along those lines, i have worked with creating the water level since ive managed to add camera effects to the camera to create fog for the water and even a bubble effect on the particle system attached to the controller but i have no idea where to start with the controller itself, ive tried it with the envrioment's grvity but no use this doesnt effect the controller.
Your answer
![](https://koobas.hobune.stream/wayback/20220613093930im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
why does character controller accelerate off ledges? 1 Answer
Do character controllers work with dynamic gravity? 1 Answer
How to make a GameObject collide properly with an animated plane? 0 Answers
moving in the direction the camera is facing 1 Answer
Problem with character movement 2d when attaching animator 1 Answer