A little problem with direction at MoveComponentTo

Hi, I have a little problem with the direction of movement
as in the video (2022 05 24 09 49 10 - YouTube), I don’t understand how to set it to always go in Y(150) from wherever the capsule starts.

I tried something but it doesn’t work. (

)

Do you know any tutorial or solution how I can fix this?

Thank you in advance!

You making an absolute adjustment, it needs to be relative

Although I’m not quite sure what you’re doing, it’s something like that. I don’t think it’s possible to move the player capsule?..

2 Likes

I succeeded with GetForwardVector instead GetRightVec.

Thankss mann!!

That’s what i wanted (https://www.youtube.com/watch?v=vo0pwhExNYM), to move component 150 units always forward after the ‘vault’ is activate.

Yes, I thought moving it in Y was a bit strange… :wink:

1 Like

True:)) if I think about it:))

Have a good day!!

1 Like