Use Multiply Vector by Matrix to multiply sphere.PointPosition by 
sphere.kine.global first. Then calculate the dot product.

When you get attributes like Sphere.PointPosition by explicit reference (i.e. 
not reading at locations), you get the raw values, which are expressed relative 
to the object centre. Multiplying by the global transform converts to them to 
the global reference frame.

gray

From: [email protected] 
[mailto:[email protected]] On Behalf Of Simon Van de 
Lagemaat
Sent: Thursday, April 26, 2012 05:27 PM
To: [email protected]
Subject: Evaluating ice weight map gen per frame

I'm generating a weight map on a mesh using a simple dot product of a null and 
the surface points on the sphere.  When I animate the sphere the weight map 
generation is ignoring the transforms and acting as if the mesh is in a rest 
state.

How can I get the weight map tree to eval the mesh and its transforms on every 
frame?  I created a simulated ice tree but no luck.

Cheers

<<attachment: winmail.dat>>

Reply via email to