I was wondering if there is a way to rotate an AIR units facing to the current pitch of the players camera?
I already set up a TPS camera what works fine and WASD movement with camera yaw (the unit is facing the yaw of the camera) and pitch (the unit changes it's height based on the pitch of the camera) facing, but what I want is to tilt the unit if it goes up or down (changes it's height) because right now it looks like the unit is moving like an elevator.
The trigger looks like this:
So any ideas how to tilt the unit based on the players current camera pitch??
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
@willuwontu: Go
Thanks for the advice. I've already tried out, but I have no idea how the actor messages work for rotation.
Hello!
I was wondering if there is a way to rotate an AIR units facing to the current pitch of the players camera?
I already set up a TPS camera what works fine and WASD movement with camera yaw (the unit is facing the yaw of the camera) and pitch (the unit changes it's height based on the pitch of the camera) facing, but what I want is to tilt the unit if it goes up or down (changes it's height) because right now it looks like the unit is moving like an elevator.
The trigger looks like this:
So any ideas how to tilt the unit based on the players current camera pitch??