In the attached file I try to design an interactive animation where the character is a fish. All around the fish is a terrain. In Blender Game when pressing P the fish swimms (shakes tail etc) but no motion. When pressing F the fish goes ahead (motion). When pressing left arrow, it goes to the left and reversed (right arrow = going to the right).
Now the problem is that whenever I keep on pressing F the fish continues swimming forward and disappears inside the terrain just as if the terrain was not existing.
How do I make the fish stop when it hits the terrain?
physics. since i think we are all sick of answering this question, ill just give you the fixed blend. the controls are going to need work, but the collision and setup is proper.
I would use a radar and connect to a state actuator.And set it to state 2.Then put a property on the terrain.Make it a actor.Put the property in the radar sensor.