Absolutely possible.

What you're experiencing is that self.PointNormal (and I think maybe all or
most preexisting iceattributes) are in the object's local space always.

If you get a "Multiply vector by matrix" node and feed it your
self.PointNormal and a getdata of self.kine.global into the matrix, you
should be getting stuff in Global space.

Beware that some of the ICE visual debugging when it comes to per-point
data can appear to come from the points when that may not be the case, just
because it usually draws the vector starting from the point origin when
it's a per-point context.

You can Build Array From Set from your attribute and visually debug the
result, as it will be one big array per object instead of one value per
point, and thus won't try to draw it starting from each point.



On Tue, Aug 13, 2013 at 9:38 AM, Ponthieux, Joseph G. (LARC-E1A)[LITES] <
[email protected]> wrote:

>  Howdy,****
>
> ** **
>
> I’m trying to get a vector which is the normal of a surface relative to
> world space, not local space. The object is moving. I managed to get the
> vector using both PointNormal and SurfaceGeometricNormal. Sometimes the
> calculations work and sometimes they don’t. It appears when I display the
> vectors that normal is being reoriented relative to the self object(the
> object that the ICE tree is on). So from a global perspective the angle is
> wrong. Its being compared to a normal which is generated from the point
> position of two objects. What I need is the normal direction of the surface
>  or point on the point relative to world space. Is that possible? ****
>
> ** **
>
> --****
>
> Joey Ponthieux****
>
> LaRC Information Technology Enhanced Services (LITES)****
>
> Mymic Technical Services****
>
> NASA Langley Research Center****
>
> __________________________________________________****
>
> Opinions stated here-in are strictly those of the author and do not ****
>
> represent the opinions of NASA or any other party.****
>
> ** **
>

Reply via email to