move pointPosition to original position

Discussions about SOFTIMAGEs© Interactive Creative Environment©
clankill3r
Posts: 131
Joined: 21 Oct 2012, 13:36

move pointPosition to original position

Post by clankill3r » 08 Jul 2014, 15:35

I have a grid.
I duplicate that grid (grid2) and move the points around.

Now i want with ICE to be able to move the points of grid2 to the positions of grid.

This should be possible since the amount of points is equal.
But i have problems retrieving the positions of the original in combination with knowing the ID.

Can someone help?
You do not have the required permissions to view the files attached to this post.

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 09:02
Location: Montreal Canada

Re: move pointPosition to original position

Post by xsisupport » 08 Jul 2014, 16:32

Can't you just do
Get grid.PointPostion -> Switch Context -> Set self.PointPosition ?
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

clankill3r
Posts: 131
Joined: 21 Oct 2012, 13:36

Re: move pointPosition to original position

Post by clankill3r » 08 Jul 2014, 18:28

thanks! It works.

Why can I use self.pointPosition and not self.pointPositionTarget?
I know pointPosition exists and pointPositionTarget does not but I would like to interpolate.

Pancho
Posts: 659
Joined: 19 Sep 2010, 09:28

Re: move pointPosition to original position

Post by Pancho » 09 Jul 2014, 09:35

Use self.pointPosition and otherMesh.pointPosition (with "switch context") and plug both into "linear interpolate" > set data (self.pointPosition")

clankill3r
Posts: 131
Joined: 21 Oct 2012, 13:36

Re: move pointPosition to original position

Post by clankill3r » 09 Jul 2014, 09:57

THANKS, WHEN I TRY THINGS I ALWAYs get complex structures that don't work.
When you guys explain things it all seems so simple :)