How can I make my material rotate to always face the ground


Heya guys I have this material, my intention is to rotate it so that is always facing the ground value -Z. As you can see in the video it keep rotating what do I need to change ?

why are you rotating it in the first place? just don’t rotate it in the shader and it should be static.

My character snaps into different surfaces with different gravity properties

okay. so the transform is parented to the character? well you gotta do the inverse of the object transform and feed it into the offset, to get it to remain in this world aligned rotation. if you know what i mean.

i may have some time later to prototype a blueprint or shader, if required.

You mean this ?

because it isn’t working for me