Local Coords to World Coords

I’m using a setup where I load a model and reparent it to a dummy node. In order to move my character I set the dummy node’s pos but I also do some translations on my model’s coordinates, so it will move a bit left and right of the dummy node’s position.

My question is this:

I know that if I call model.getPos() that is going to give me the the position of the model relative to the dummy node. Is there a way to get the world coordinates of the model (or convert the relative coords to world coords)?

Thanks.

I think I might have solved this one myself. Can someone confirm for me though?

If I call model.getPos(render) does it give me the world coordinates of the model?

Yes, that will work as long as render has not been moved :slight_smile: