Frictional Games Forum (read-only)
Question re: Leveleditor Combinations Origin Point - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: SOMA (https://www.frictionalgames.com/forum/forum-55.html)
+--- Forum: User created content (https://www.frictionalgames.com/forum/forum-79.html)
+---- Forum: Development (https://www.frictionalgames.com/forum/forum-82.html)
+---- Thread: Question re: Leveleditor Combinations Origin Point (/thread-31631.html)



Question re: Leveleditor Combinations Origin Point - 1minus1is0 - 11-06-2015

Question: How do I change the XYZ origin point of a combination? I want to add an object to a combination of another object, but i want the axis of rotation to remain the same as the original object


RE: Question re: Leveleditor Combinations Origin Point - Mudbill - 11-06-2015

Not sure if that's possible. The feature itself is not extremely sophisticated. Wouldn't surprise me if it isn't doable. Maybe you can, at the very least, edit the map file and programmatically edit the compound.


RE: Question re: Leveleditor Combinations Origin Point - 1minus1is0 - 11-06-2015

If I knew exactly how it calculates the new origin point, assuming it is just the average of all origin points that make it up, I could figure out some kind of formula for rotating and transforming functions to get the same effect. I would love to avoid that though.