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
[Solved] Moving the camera to an area facing a certain direction?
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#1
[Solved] Moving the camera to an area facing a certain direction?

In my CS, the player hears some bad news, and needs to sit down. I want the character to go into an area, and the camera will move onto the chair, facing in a specfic direction.

How could I do this?

The Nightmares v1.0 - Dreadful Fires WIP
(This post was last modified: 02-10-2012, 10:20 PM by Strembitsky.)
02-10-2012, 06:59 PM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#2
RE: Moving the camera to an area facing a certain direction?

http://www.frictionalgames.com/forum/thread-10973.html

c:

02-10-2012, 07:01 PM
Find
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#3
RE: Moving the camera to an area facing a certain direction?

(02-10-2012, 07:01 PM)flamez3 Wrote: http://www.frictionalgames.com/forum/thread-10973.html

c:
That did help me, quite a bit, actually, but I want the camera to be moved on top of the chair as well. All that does is make the camera look at something. help?

The Nightmares v1.0 - Dreadful Fires WIP
02-10-2012, 07:19 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Moving the camera to an area facing a certain direction?

(02-10-2012, 07:19 PM)Strembitsky Wrote: That did help me, quite a bit, actually, but I want the camera to be moved on top of the chair as well. All that does is make the camera look at something. help?

It sounds like you don't fully understand the code in the other topic. What you should be studying is what are timers and how they work and also try to understand StartPlayerLookAt.

Tutorials: From Noob to Pro
02-10-2012, 09:59 PM
Website Find
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#5
RE: Moving the camera to an area facing a certain direction?

I must have phrased the question wrong.

I want the person to enter an area, and then the camera moves over a chair. Doesn't just look at it, it moves over it, and then looks at something.

I cut a few corners and now it works well, but I would still like to do it like I wanted.

The Nightmares v1.0 - Dreadful Fires WIP
02-10-2012, 10:07 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#6
RE: Moving the camera to an area facing a certain direction?

(02-10-2012, 10:07 PM)Strembitsky Wrote: I must have phrased the question wrong.

I want the person to enter an area, and then the camera moves over a chair. Doesn't just look at it, it moves over it, and then looks at something.

I cut a few corners and now it works well, but I would still like to do it like I wanted.
From what I know you can't just "move" the camera because the camera is the player so you need to make the player walk to the chair etc


02-10-2012, 10:14 PM
Find
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#7
RE: Moving the camera to an area facing a certain direction?

Okay, it's fine then. I will keep it how I have it.

The Nightmares v1.0 - Dreadful Fires WIP
02-10-2012, 10:19 PM
Find




Users browsing this thread: 2 Guest(s)