Hey there, i'm working on swimming, so far everything is ok.
my problem is when i jump into water, the character goes right to the bottom "ground" surface.
tried to set rigidbody velocity.y to zero it's pretty much working exept i keep a bit a speed and keep going down, also i can't swim up till i hit the ground.
my controller is a Rigidbody Custom made and like i said everything work great in swimming state as long as i don't enter water with a jump.
well if there is anyone with an idea, i would gladly take it.
thanks to those who will take the time to respond.
and also Apologies to native english speaker for my bad english.
,Hey there, i'm working on a swimming state, everything look fine exept if i jump into water the character goes right to the bottom of the sea.
can't figure out how to make that the jump stop at the water surface.
i already tried to set a second layer of collider to stop the fall but it's not that great, i also tried to set Rigidbody velocity.y to zero when colliding with water surface the character still goes to the bottom till i can swim up again.
Working with my own RigidBody controller.
feels free to give some tips.
thanks.
↧