In a Niagara module I’m trying to rotate a vector to ‘stick’ with another vector. It’s simple in BP, it works like that:

… But I can’t find a way to do that in Niagara.

In a Niagara module I’m trying to rotate a vector to ‘stick’ with another vector. It’s simple in BP, it works like that:

… But I can’t find a way to do that in Niagara.

**Update: It works for my problem, but I only need to rotate a perpendicular vector - for other vectors, this won’t work, since it will always produce a vector that is perpendicular to the vector B.**

Just found a solution/workaround: I use the Project Vector On Plane function in Niagara. Inputs:

Vector A as ‘Vector’ input

Vector B as ‘Normal’ input

The result is a vector A that rotates with vector B. Does the trick in my case, but if there’s a better way, please share

You will want to rotate with quaternions as much as possible. If you are familiar with angle axis quaternions are similar.

However, I’m unsure if there is a BP exposed/Niagara editor quaternion solution. Sorry I can’t be of more help, but hopefully it points you in the right direction.