Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to move camera angle horizontally
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#1
How to move camera angle horizontally

i want to make a look-around animation where the player looks to the left and right etc. not FadePlayerRollTo

When you are looking for someone, to do the scripting for your Custom Story, ask me!
02-14-2013, 07:25 PM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#2
RE: How to move camera angle horizontally

StartPlayerLookAt.

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

[Image: 16455.png]
02-14-2013, 07:25 PM
Find
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#3
RE: How to move camera angle horizontally

(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.

When you are looking for someone, to do the scripting for your Custom Story, ask me!
(This post was last modified: 02-14-2013, 07:32 PM by tonitoni1998.)
02-14-2013, 07:31 PM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#4
RE: How to move camera angle horizontally

You need to call the function MovePlayerHeadPos. This function is listed in the engine scripts on the wiki.

In Ruins [WIP]
02-14-2013, 07:52 PM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#5
RE: How to move camera angle horizontally

(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.
(This post was last modified: 02-14-2013, 07:54 PM by MulleDK19.)
02-14-2013, 07:54 PM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#6
RE: How to move camera angle horizontally

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).

In Ruins [WIP]
02-14-2013, 08:00 PM
Find
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#7
RE: How to move camera angle horizontally

well i suppose i HAVE to use the lookat. thanks for the help

When you are looking for someone, to do the scripting for your Custom Story, ask me!
02-14-2013, 08:02 PM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#8
RE: How to move camera angle horizontally

(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.

[Image: 16455.png]
02-14-2013, 08:04 PM
Find




Users browsing this thread: 1 Guest(s)