Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Parallax Scrolling with Orthographic Camera?

Currently working on a side scrolling game with classmates for our major project in university, so far we've been playing around with different camera perspectives and really love the Orthographic viewpoint for the aesthetic we want to go for.

My question is, how can we get parallax scrolling working with the orthographic camera? Or at least take all of the perspective out of the perspective camera so it has the same effect, but objects in the foreground/background move at a different rate than the focal point?

Product Version: Not Selected
more ▼

asked Nov 17 '14 at 05:33 PM in Using UE4

avatar image

11 2 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

To simulate perspective in an orthographic view, you need to counter animate the foreground and background elements separately. This is how we used to do it back in the days of 2D.

You need to translate foreground/background objects in a direction OPPOSITE to the camera movement.

Background elements should translate slower than the camera, foreground elements should translate faster than the camera. You can also stack the layers up. Layers farther back should get progressively slower, layers closer to the camera should get progressively faster.

more ▼

answered Nov 17 '14 at 05:48 PM

avatar image

211 6 7 17

avatar image Novrasplice Nov 17 '14 at 05:52 PM

Okay, I understand, just not sure how to go about setting that up. We'll try play around and experiment, thanks!

avatar image Ninetail Nov 17 '14 at 05:59 PM

Have you guys looked at the "Tappy Chicken" example game? It's free on the Asset Store.

avatar image Novrasplice Nov 17 '14 at 06:03 PM

I'll take a look for that now! The Unreal 4 Asset Store, correct?

avatar image Novrasplice Nov 17 '14 at 06:08 PM

It might be worth mentioning that we're still building all our objects in 3D, it was originally going to be a 2.5D scroller with perspective camera, but we really like how it looks in Orthographic.

avatar image Ninetail Nov 17 '14 at 06:16 PM

That's totally fine. You can stick all your 3D objects into one blueprint and translate them all together. Start by looking at the "Event Tick", "Get/Set Actor Location", and "Vector * Float" blueprint nodes.

avatar image Novrasplice Nov 17 '14 at 06:18 PM

Ok cool, thanks very much for all your help!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question