If there is a get control rotation, why isn't there a get control location?

I have get control rotation, but there is no node called get control location.

what do i use for get control location?

i’m trying to get my players mesh to move properly in my FPS.

GetController()->GetActorLocation()
Should work.

well i dont know anything about C++. where do i put that or how do i do that in bleprint?

Oh sorry didn’t notice it was in blueprints section, thought it was C++.


Drag blue pin from Get Controller and probably disable Context Sensitive to get that node.

So im having a bit of a problem. when i move my camera up and down, my mesh only rotates and does not move relative to the way the camera is pointing. any ideas?

Too little information…

But try setting Orient Rotation TO Movement in character movement component.

You don’t really ever want to get the controller location, it doesn’t really mean anything. The PlayerController is the players 'will in the world;, a rather abstract concept. It does have a rotation, because this makes it easy to build things like FPS games where you want the camera to look up and down, but the pawn not.

What problem are you trying to solve?

When i look up and down, my players mesh only rotates. it does not actually change location up and down relative to where my camera is pointing.