clever_beast Posted March 1, 2016 Share Posted March 1, 2016 Hello OdForce, I managed to evaluate the centroid of a moving geometry with the chf expression function, but i know i'm doing it the wrong way. I have a couple of questions : - Is there a way to freeze the centroid local variable ? ($CEX, $CEY and $CEZ always return 0 for some reason...) - How can i freeze the centroid without having to compute it in a different node ? (feel free to take a look at my hip file) hou.Parm might be useful here, but i'm not sure how to use it... Thanks in advance ! freeze_centroid_001.hipnc Quote Link to comment Share on other sites More sharing options...
f1480187 Posted March 2, 2016 Share Posted March 2, 2016 Add spare parameter (RMB Menu/Edit Parameter Interface...) on second transform to fetch mountain's centroid, then reference it instead. freeze_centroid.hipnc Quote Link to comment Share on other sites More sharing options...
clever_beast Posted March 2, 2016 Author Share Posted March 2, 2016 Thank you very much, i hope i didn't bother you with some beginner-level-questions... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.