Swimming Physics

So how do i make swimming physics? So the character on press up they float up and on down goes down. so how do i do this?

Use velocity once you detect if they’re in the water. Make velocity switch off if they go down or up.

@hihilogic did this I think

Thank you Great sir your the best

Please stop spamming this.

1 Like

stop spamming what???

So how do i make sure the velocity turn off by using what the switch???

1 Like

He was talking to @TheHeadlessHorsemen since they have been posting textless comments on many different discussions including this one.

1 Like

Can we just stop, any way there is a behavior that is called a switch you have the input and a on and of feature to it. So you can stop an input like the velocity