Stop translate

I have some 3D code and I use translate to move an object how can I stop this affecting the other object.

Put pushMatrix() before the translate and a popMatrix() after doing everything you want with translate.

This just moved the cubes Over and over again

@majied you need to post the code that you have. That’s the best way of getting help.

We need to see the code, or a small example showing what’s happening.

If you don’t know how to use translate yet, I would suggest working with 2D first, to keep things simpler