christophejeudy Posted April 24, 2021 Share Posted April 24, 2021 (edited) Hey guys, How would you go about flattening each one of these geometries? Basically I have a point scatter coming from one side (each point has an @id attribute), on the other side this squared geo on each point. Each squared geo has same @id as one point assigned to it . I would like each point on the squared geo to inherit the P.y of the scatter. basically if a squared geo has points with @id = 1 then for each point of @id=1 then I would like them to inherit the P.y of the point of @id=1 of the scatter. Basically I would like each squared geo to be flat. Hope it kind of makes sense to you haha. I'll join a hip file , maybe it will be easier to understand. od_force_stuff_02.hip Edited April 24, 2021 by christophejeudy Quote Link to comment Share on other sites More sharing options...
symek Posted April 24, 2021 Share Posted April 24, 2021 Append Point Wranger SOP and change Attribute To Match parameter (on Binding Tab) to @whatever_id_you_used_on_both_geo (my_id) and then bellow code will just work: @P.y = v@opinput1_P.y; Quote Link to comment Share on other sites More sharing options...
christophejeudy Posted April 25, 2021 Author Share Posted April 25, 2021 Thank you very much, that did the trick !! 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.