I wanted to make a nice game, but I am having a problem with water. I am trying to make a simple underwater shader and motion, but I have to make my water so the character can also walk through it. It also must have collision, so I can activate the properties. How can I make its physics work like that?

  • $\begingroup$ Could you specify why you need collisions? $\endgroup$ – someonewithpc Jan 5 '15 at 20:30
  • $\begingroup$ I need collision to activate property which makes the plane(which makes underwater shader) visible. Also I need collision to play sounds when walking under water... And... To make player loose health when being too long inside of water... $\endgroup$ – Adrians Netlis Jan 5 '15 at 20:32

You can have the water detect collisions and not actually register any collisions by setting it to ghost.

Ghost box

Once that box is checked, anything that hits it detects the collision, but it physically treats it like a no-collision mesh. So, you can simply have a logic setup similar to this one on your character. Logic bricks

| improve this answer | |
  • $\begingroup$ Yes... it really worked:) $\endgroup$ – Adrians Netlis Jan 6 '15 at 19:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.