plug the orientation of the particle into a 'rotate vector' node.  For the
'Z' axis of the particle use 0,0,1 as the value in the 'rotate vector'
node.




On Thu, Feb 20, 2014 at 7:36 AM, Chris Marshall
<[email protected]>wrote:

> Hello all.
> I'm struggling on something that I'm sure should be simple.
> I have some particles, cubes, that are sitting flat on a surface, all with
> their x axis pointing straight up, but rotated around that axis so they're
> all facing in different directions across the surface. I can see this by
> having the Orientation attribute visible and Display as Axis on.
> Now I want to use Get Location by Raycast on some geometry in the scene,
> using the Z axis of the particles as the Direction Vector input.
> What I'm struggling on is how to get the vector of the Z axis of the
> particles? How do I extract this information from the Orientation? Like I
> said, I can see that its the Z axis of each particle I want to use. Maybe
> it's not the Orientation I should be using?
>
> I hope that makes sense.
> Thanks
> Chris
>
>
> --
>
> Chris Marshall
> Mint Motion Limited
> 029 20 37 27 57
> 07730 533 115
> www.mintmotion.co.uk
>
>

Reply via email to