Problem with rotate vector

Hello!
I ran into a problem regarding turns. I have an actor that has a static cone mesh (rotated 90 degrees by Pitch ). I need to draw a line down from the center of the cone’s radius (the line should always go down parallel to the cone). I did the basic implementation(startpos+direction*length) and in the normal position everything works(even if I rotate by Pitch and Yaw), but if I rotate the actor along the Roll axis, the line rotates along with the actor.

image

What I tried:

  1. Rotate the result dir vector
  2. Set 0 roll to the component rotator before make vector
  3. Combine rotators (minimize the difference in the roll)

But in all this cases line have strange behavior(change direction or target to random point). Google/ChatGPT didn’t help, has anyone encountered something similar?

Are you using the components up vector to get the end point of the vertical line? If not then share the bp to get an idea of what is happening.

Problem was in rotated component(SM_Cone). I rotated static mesh(by model edit tool plugin) as default and for now everything is working. So issue was in complex transform offset.
I will be glad if my solution helps someone save time and nerves in the future :slight_smile: