How to rotate a ForwardVector to always face up?

Hey guys,

I am building a sphere/cone that I want to rotate. The rotation works fine if I face one way, but does something I don’t really understand when I move around.

[Here is a video][1] of this in action and below that screenshots of the code & result.


This actor is currently attached to the player, this will be optional later but for testing it is attached.


Result, that I do not quite understand.


Well, instead of rotating the vector I ended up rotating the actor instead. Once at begin play if player is not the origin. And if player is origin, every time the event gets called.

Phew. Im happy this is done. :slight_smile:

https://i.imgur.com/7BDvzbf.jpg