USD get Component location

I have USD scene with a lot of components inside it.
image
I can acess any of it with blueprint but when i get get location - it always returns the location of a main component in world coordinates. Any idea how to get local coordinates?

if you are asking how to convert world coordinates to relative location coordinates then you can use the inverse transform node

It will take in a transform of the main object / element and then the object’s location which may be transformed by the “main” one.

If you pass in local you get world, if you pass in world you will get the local offset equivalent.

Thanks for the reply. not exactrly - i had a problem = zero locations for all components. Found a solution - export parameters from Houdini. These are correct. Otherwise you will get zeroes in positions. Dont know why.
image

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.