There is an invincibility cheat but it is not quite perfect. Use Mace Windu's short range force while sliding down a steep slope. Then, slide over the edge while still using your Force. If done correctly, your health bar will disappear and you will only have your force bar displayed. You will still die if you fall too far or if you get pushed over the edge. If you use your Force again, the game will return to normal.