Doesn't the SetWorldTransform method multiply by the parent coordinate matrix?

What’s the difference between SetWorldTransform and SetRelativeTransform?

I think you’re in a blueprint here, right?

World transform is the position in the world ( the level ). So if you put the blueprint in a level, whatever you’re positioning with world transform, will always be in the same place, same rotation etc.

Relative, means relative to whatever is the parent component in the blueprint, totally different thing. If there is no parent component, then it means relative to the blueprint itself. So when you drop it in the world, the component you set with this, will always be in a position ( and rotation ) relative to the blueprint, or the parent component.

If I do this

It’s always 100 higher than the rest of the blueprint:

But if I do this

The sphere will always be at 0,0,100 in the level, no matter where I put the BP

BP

1 Like