Frictional Games Forum (read-only)

Full Version: How to move camera angle horizontally
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i want to make a look-around animation where the player looks to the left and right etc. not FadePlayerRollTo
StartPlayerLookAt.

Maybe you should consider putting all your questions into one single thread?
(02-14-2013, 07:25 PM)MulleDK19 Wrote: [ -> ]StartPlayerLookAt.

Maybe you should consider putting all your questions into one single thread?

and i dont mean looking at and entity. i just want to change the horizontal angle.



im just scripting and i always get new question :/ sorry about that but not everything is in the wiki.
You need to call the function MovePlayerHeadPos. This function is listed in the engine scripts on the wiki.
(02-14-2013, 07:52 PM)NaxEla Wrote: [ -> ]You need to call the function MovePlayerHeadPos. This function is listed in the engine scripts on the wiki.

Nah. He doesn't want to reposition the head. He want the player to look around.

He'll need StartPlayerLookAt, StopPlayerLookAt and AddTimer. All of which are documented.
Well... you already suggested that and he said that that wasn't what he was looking for. I also partially misread that he wanted the players head to move horizontally (as in on the horizontal plane).
well i suppose i HAVE to use the lookat. thanks for the help
(02-14-2013, 08:00 PM)NaxEla Wrote: [ -> ]Well... you already suggested that and he said that that wasn't what he was looking for. I also partially misread that he wanted the players head to move horizontally (as in on the horizontal plane).

That's how you do it. He wants him to look left and right, so you place 2 areas, and use StartPlayerLookAt to make him face the areas.