How to set location/rotation for FPS characters?

If I use a Set Actor Location and Rotation function, it only sets the location. I have tried it with a Make Rot input and with just setting the values in itself but neither work.

I’m doing it with a Xbox button press:

if I try it with get player character instead of player pawn, it doesn’t even move to the position.

Can you post an image of how your are implementing this, just tested this and I didn’t have an issue. Maybe I’m setting it up differently than you are though. Here’s how I was doing it:

-W

ya, I’ve tried it with a target and other inputs but if I rotate the player camera and hit the button, it only sets the location, not the rotation.

sure - here you go:

http://dl.dropbox.com/u/7990437/target_no_worky.mov

I’m on OS X right now but the problem also happens in Windows 8.1

And your TargetPoint2 is rotated correct? Hmm… Did this with Pawn and didn’t have an issue either (I did it with a Mouse Button instead). Shouldn’t have anything to do with Gamepad.

-W

Any way you could get a video of this and post it on Sendspace or somewhere like this?

Having a hard time reproducing this. Not sure what else I’m missing.

-W

Thanks for the video! Can you try one more thing, try it in a New Blueprint Third Person Template, does the character rotate then?

ya, that works. How would I go about getting that into my existing scene then?

Hey,

Try giving this a shot, I think I know what the issue is now:

For the FPS examples, you’ll need to get/assign Control Rotation instead of the rotation of the character which is why it works in Third Person and not in First and was the reason I wasn’t seeing the issue since I was testing in third. :slight_smile:

Hope this helps!

-W

great - that works. thx