Moving Camera Origin
tylerglessner
Member Posts: 246
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
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
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.
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.
Socks, thanks for the quick reply. That was what I was looking for! Works great!
socks , when i move the camera , whats best way to stop , like in a shoot em up .. when killed
"when i move the camera , whats best way to stop"
Not enough information.