LDCad Scripting: cannot get group position/orientation


RE: LDCad Scripting: cannot get group position/orientation
#2
Welcome to the forum Greg,

Things to check:
- Are you sure there is no relative grid active when checking the group posori in the editor as scripts always use absolute space.
- Is the matrix you expecting the one the groups main part uses, as groups always use the first part as its ori source, same goes for the position part unless the group uses a custom center.

I did a quick test and it seems to work fine for me using a rotated group, if you post or mail me your ldr/lua files I might be able to tell more.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: LDCad Scripting: cannot get group position/orientation - by Roland Melkert - 2017-03-20, 6:04

Forum Jump:


Users browsing this thread: 1 Guest(s)