GameSalad

Moving Camera Origin

Hey guys, I need a bit of help. I'm wanting to use the Move To behavior to move the camera origin to different points so I can get that slide effect. How would I go about doing so, because I cant seem to figure it out if it really is possible. Thanks!

Comments

  • tatiangtatiang Posts: 10,628Member, Sous Chef, PRO, Senior Sous-Chef
    Unlock the actor in the scene and you'll have access to the scene attributes which include the camera origin x/y.
  • tylerglessnertylerglessner Posts: 246Member
    @tatiang Im wanting to actually use MOVE TO on the camera origin itself, not an actor. Unless I'm just not understanding what you're saying
  • tylerglessnertylerglessner Posts: 246Member
    Nevermind, figured it out! Silly me, that was simple :D
  • tatiangtatiang Posts: 10,628Member, Sous Chef, PRO, Senior Sous-Chef
    Glad you got it working. The Move To command can go on any actor on the scene as long as it's been unlocked.
  • dbratley66dbratley66 Posts: 4Member, PRO

    tylerglessner how did you figure it out? I would also like my camera origin move left and right in a scrolling fashion like a "move to" function from the screens center location to specific origin X axis points, left and right of center. Then from the left or right X axis origin location click on an actor on either side to move the camera back to center. I have tried several techniques, and cannot get it to work smoothly.

  • SocksSocks London, UK.Posts: 12,338Member, BASIC

    @dbratley66 said:
    I would also like my camera origin move left and right in a scrolling fashion like a "move to" function from the screens center location to specific origin X axis points, left and right of center. Then from the left or right X axis origin location click on an actor on either side to move the camera back to center. I have tried several techniques, and cannot get it to work smoothly.

    Like @tatiang says, to access the camera's origin you must first place an actor into the scene and then unlock it.

    Then you can simply interpolate the camera's origin.

    Demo attached, click on the screen to scroll.

  • dbratley66dbratley66 Posts: 4Member, PRO

    Socks, thanks for the quick reply. That was what I was looking for! Works great!

  • Sas-djSas-dj Posts: 45Member

    socks , when i move the camera , whats best way to stop , like in a shoot em up .. when killed

  • SocksSocks London, UK.Posts: 12,338Member, BASIC
    edited February 17

    "when i move the camera , whats best way to stop"

    Not enough information.

Sign In or Register to comment.