I am looking for a simple example of a mud (slowdown) effect to implement into my short racing game. I have the track and the surrounding mud as separate objects, but I am having trouble figuring out what to use to slow the vehicle down. I am assuming I would place it inside the code of the vehicle as a while isTouching. I would like it to slow down while only in the mud, and go back to regular speed when not.
