I want to rotate a Vector by the object’s rotation inside a material.
My current concept idea:
I get the actor’s rotation from a blueprint->material parameter collection.
Convert that into degrees between 0 und 360 for each axis.
Now the part where iam stuck:
how can i rotate the vector around the object’s pivot point by given numbers?
(for example: rotate (1,1,0) around (0/0/0) by 45° around X, 0° Around Y and 270° around Z) ?