boolean3 - get boolean transform relative to node pivot

boolean3 - get boolean transform relative to node pivot

Anonymous
Not applicable
624 Views
1 Reply
Message 1 of 2

boolean3 - get boolean transform relative to node pivot

Anonymous
Not applicable

Hi there,

I'm trying to control some boolean3 functionality from script and have run into an issue with determining operand world position. In boolean3 you can get a controller of an operand via operand_tm property of the boolean, however transforms in these controllers seems to be relative to original pivot of a node that was used to create the boolean3 object.

 

Right after the creation, that's fine and the world position of an operand is a function of a position in operand controller and node's pivot transform. But user can change node's pivot at any time and as soon as they do, the above is not true. After the pivot change I also need relative transform between node's pivot and operand controller parent. And that's the problem, because I cannot find it anywhere. Does anyone knows how this works?

0 Likes
Accepted solutions (1)
625 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

My bad, it's easy. One just need to use an object-offset tranforms to get it. Here's a link to documentation in case anyone gets stuck on it in the future: https://help.autodesk.com/view/3DSMAX/2018/ENU/?guid=__files_GUID_3B001F21_8FE9_4663_A972_E648682A0A...

0 Likes