ice - vertex world position


#1

Hi all,

How can we get vertex’s world position if we have the vertex index?

Thanks,


#2

Use the select in Array node with the Pointposition as the input array


#3

Thanks Leo :wavey:

Another question:

How can I get data from one object and use those data to set data on other objects.

In my case I get this error:

context mismatch:
input context supported: per object or point of “cube.polymesh”
output context supported: per object or point of “sphere.polymesh”


#4

If the two objects are identical as far as mapping contexts go, IE: same topology in the case of geo, you can use the switch context node.
Otherwise you will have to establish the mapping differently, such as with a get closest location/point node (if they have different topologies, or even identical point counts and positions but differently ordered vertices).

I’m also moving this thread to the ICE subforum.


#5

Good to know this, thanks.

Closet point node is good but what if we want to find a vertex world position on a sphere and move a cube to that position?


#6

So you have a specific vertex you want to consider?
Why not use a cluster to filter it then if you need human intervention (which you will to identify the specific vertex), so you can set the kine of an object to the filtered pointpositions for the other.

Not that I would do that in ICE to be honest, a cluster constrain would probably be better in most cases, unless you’re just finding yourself exercises to familiarize with ICE basics such as contexts, types, and moving between them.


#7

[QUOTE=]
unless you’re just finding yourself exercises to familiarize with ICE basics such as contexts, types, and moving between them.[/QUOTE]
Yes, it’s definitely the case. As an exercise I wanted to create a rivet like constraint by creating a transform matrix from 3 vertices.


#8

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.