Changing physics

How would I get one object to change from dynamic to static when I press a certain button?

keypress----------------and-------------------edit object-Suspend dynamics

here is a example with dynamics on off, and a timer, (so you don’t go false,true,false in 1 keypress)

Spacebar - fire logic


2statesLogicDynamicsWithTimer.blend (429 KB)

Go to the Logic Brick Editor>Actuators>Edit Object and select Suspend Dynamics from the menu. You can then use either python or the keyboard sensor to start the actuator when you press the certain buttons.

Thanks all :slight_smile: