lock z

i am working on a 2d game and i whant to lock z how can i do that

If your object is a rigid body, go to: Logic Panel (F4) > Advanced > Lock Z Axis.

For anything that’s not a rigid body, the constraint actuator should do the trick. http://www.tutorialsforblender3d.com/GameDoc/LogicBricks/Actuator_2.html gives information on how to use it.

ok thanks i will try that
hey could you give an exthampl

pleas i need a quik exthample

come on dous some one know how?

Hi,
I know how :

There is nothing easier to explain. Really.

Make an effort, and good luck :slight_smile:

thanks guys :slight_smile: