setPos i need -xxx

I have loaded an model into my world (an skybox) but that is to hight with this settings:

        self.sky = loader.loadModel("happysky")
        self.sky.reparentTo(render)
        self.sky.setScale(100)
        self.sky.setPos(.0,.0,.0)

And at setPos(-xx.xx.xx) don’t work. Anyone an idea how i can set the model lower?

to move the skybox lower you would move the Z component, so

self.setPos(0,0,-x)

for example:

self.sky.setPos(0,0,-100)

it don’t change the postion of the skybox (model)

Please respect sky’s scale, so multiply translation by scale.

What must i set?

sky.setZ(-z*100)

Hm, that’s a little bit dirty, you could better set the z relative to, for example, “render”.