Make Character Fly -
10-18-2008, 03:52 AM
in my program, i have programmed the following:
- event where arrow keys will move character.
- event when key "w" is typed, it will call a method "fly" to move character one meter up
- event when "s" is typed, will call a method "descend" to move character one meter down.
basically i'm trying to make my character fly.
moving the character up has no issues but when my character is descending, it will go beyond the ground. how do i make it stop at the ground and not go further?
Last edited by logicaldeath; 10-18-2008 at 04:03 AM.
|