Download

Material LocalPosition without rotation?

Is there any way of ignoring the rotation when using the LocalPosition material node? I.e. I’d always want my effect in a material to take place from up to down regardless of if an object has rolled onto its side or not. I can’t for the life of me figure out how to do that but it’s probably something I’m missing?

Really happy for any suggestions :)!

You could try WorldPosition - ObjectPosition for that. Should be about the same. May have to divide by a scale factor depending on what you were doing to the mesh.

That worked wonders, cheers :). Am doing a “cool” teleport effect which looked strange when the character was not standing up straight.