position by point id isn't working...

Discussions about SOFTIMAGEs© Interactive Creative Environment©
User avatar
Pete
Posts: 118
Joined: 16 Jun 2009, 07:28

position by point id isn't working...

Post by Pete » 15 Jul 2013, 12:26

Hi all!
Just trying to offset the position of an emitted point by it's ID but this doesn't seem to be working for some reason...

Image

When I plug the "integer to scalar" node in, no points seem to be emitted at all... I thought that would have just offset the position by the id integer, e.g. 1,2,3,4 - etc.

Any ideas? Download and Drag this model into a blank scene if you want to check it out - http://www.naffupdate.com/forumfiles/Id ... n9MCa.emdl

Thanks
Pete

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: position by point id isn't working...

Post by rray » 15 Jul 2013, 13:00

This happens because the points don't exist at this point yet. They do though exist in OnCreation so reading the position there and writing it back should work fine.
softimage resources section updated Sep 26th 2026

User avatar
Pete
Posts: 118
Joined: 16 Jun 2009, 07:28

Re: position by point id isn't working...

Post by Pete » 15 Jul 2013, 23:56

Great! Thanks that works fine now!
Pete