AQUAS question

so currently with the character controller i now have in working order (thanks to joe for pointing out my issues with my past code for it) i have a quick question about AQUAS plugin

is it possible to access the underwater bool that sets off the underwater lens effects in the character script to also trigger swimming physics for the character controller i have?

note: i have the swimming physics along with the movement already in mind, just trying to come up with a way to trigger the underwater physics and movement. I cant use a simple trigger enter mainly because the collider for the water would be inaccurate.

i would like the physics to trigger when the water lens triggers, which would be when the player falls into water.

or could there potentially be an easier way to trigger these physics?

Hey there,

sorry I haven’t seen your post earlier, I would’ve answered. The AQUAS_LensEffects.cs script does have a bool called “underwater” (public getter). You can trigger the swimming physics based on whether it’s true or false.