Community Forum

How to get global position of objects while they're in transform groups?

Forum Overview >> Editor

Created02.06.2017 03:44

Niel Robbert (Unknown) 02.06.2017 03:44
I've recently started using the Giants Editor to edit FS17 mods, and one thing I can't seem to figure out is how to find the position of an object relative to the global origin when they're in a transform group. All it shows me is the position of the object relative to the transform group origin.
Any help?

Emil Drefers (Unknown) 06.06.2017 07:01

you can use the scripting window to get the global transfomration.

local x,y,z = getWorldTranslation(node);
print(tostring(x).." "..tostring(y).." "..tostring(z));

Do you know how to use the scripting window?


Note: Log in to post. Create a new account here.