Hi
i’m creating a box with random intervals and whenever i have a DECREASING Interval my translation doesn’t work properly. I guess i am missing a piece of information about transformations etc. can anybody help?
Thanks!

I guess this piece of code better shows what i’m trying to do/ have difficulties getting desired effects. Whenever _sA is a minus value translation won’t be performed - boxes will overlap.

Can you tell what is not working with the translation.
I think with a decreasing interval your box will be positioned to the left/front/bottom and as such be in a different position as you expect?

maybe you want to sort the x1,x2 y1,y2 z1,z2 before creating the intervals to ensure an increasing interval?

The box just stays in place no matter what values the translation vector has. So i assume there has to be a special way of constructing a transformation matrix for decreasing intervals?

sorting the values might be a good idea but this is a part of a larger algorithm and i’m not quite sure yet if i would want it that way. however i will give it a thought. thanks! anyways i would wanna know if there’s a way of translating a cube with decreasing interval or if it really has to be constructed with increasing intervals.