Jump to content

A Problem


Recommended Posts

NULL2 is parented under NULL1, then NULL1 is moved somewhere in the space, rotated and scaled.

Another transform - NULL3 - is moved somewhere in the space.

How can i match the position of NULL2 to NULL3 ?

Basicly my question is how to read/edit the world matrix of NULL2 ?

The solution must be only through hscript/expressions.

Thanks.

Link to comment
Share on other sites

actually first i looked at any solution allowing me to directly edit the transformation matrices.

then i tried the *origin expressions, but they didn't worked. the reason for that was that i had hierarchy with several objects and all the time i tried to use the root one in the vtorigin expression - vtorigin("rootObject","whateverObject"), instead of vtorigin("theOneAbove","object").

after edward replied me, i figured out my mistake somehow.

The implicit way provided by the *origin expressions is good enough.

thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...