Caution: Absolute Houdini beginner here.
I'm looking for the proper workflow for the following: I want to create copies of an object by specifying values: position, rotation and scale. I want to calculate these values using an input object.
So to give an example, let's say I want to copy an object onto the center point of the lowest edge of each polygon of another object, how would I do that?
To give pseudo code:
posarray =
For each polygon of template_object:
Find lowest edgePos.Y
posarray.append(edgePos)
Copy input_object to posarray
Some general help on Copy Sop and attributes
3363 3 1- Digipiction
- Member
- 166 posts
- Joined: 3月 2014
- Offline
- Platon
- Member
- 99 posts
- Joined: 7月 2007
- Offline
- Netvudu
- Member
- 304 posts
- Joined: 5月 2006
- Offline
oooh….heheh.I like it a lot, owl. Frankly, I think 99% of the users nowadays would use the ForEach method.
In fact, usually the ForEach tends to be slower, but in this case the old school method is the slowest one (according to the Performance Monitor, Foreach is almost twice as fast in this case)
In fact, usually the ForEach tends to be slower, but in this case the old school method is the slowest one (according to the Performance Monitor, Foreach is almost twice as fast in this case)
Javier Meroño
FX TD.
FX TD.
- Digipiction
- Member
- 166 posts
- Joined: 3月 2014
- Offline
-
- Quick Links