Notifications
Clear all

[Closed] attach object to populate node

 em3

Hi, I am trying to attach a dummy to the head of a populate person. I am using this code


for i = 1 to 300 do
(
with animate on
(
	slidertime = i
	$point001.pos = polyop.getfacecenter $Male000 1912
	 thedir = polyop.getfacenormal $Male000 1912
	$point001.dir = thedir
 )
)


I created a populate person added an edit mesh modifier then edit poly modifier

The point will not orient itself correctly. I can’t figure out why not.

2 Replies

is it not more reasonable to use the attachment controller with align to face option in your case?

 em3

Yes, that works great thank you. Wonder why the other way doesn’t work.