hey, i’ve added jump ability to my 1st person setup (actually the walkthrought template) using keyboard sensor and ray sensor (-z) linked to an AND controller to a motion actuator with force set in z axis. The problem is if i press my key and HOLD it down, when my camera go down and touch the ground again then it jumps AGAIN…so how could i fix this?
another question, i have a variable set to -1 could i set it to 1 using properties or something else and bind to a toggle key on the keyboard? this is to invert the mouse with a key at runtime
EDIT: basically, all i want to know is if there is a way to execute an action only 1 time when a key is pushed and how to make a toggle key for a property