x

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"

View / Camera aligned to a target

Hi together,

I'm a beginner with Unreal 4 and I hope you can halp me. . I would like to creat an Ipad app. I have a singel object in the map (coordinates 0,0,0). I want that the is object is always in the middle of the screen. The user can only rotate the view so that he can look at the object from all sides and go closer and faraway. Nothing more.

So the question is how can I realise that? I tried it with a camera and the following Levelblueprint:alt text

But when I play and test the level i can fly around with they keyboard and the mouse. Do i have do create a Player to manage this? Or is their maybe an easier solution.

please help... many thanks!

Product Version: Not Selected
Tags:
cameraview.jpg (173.7 kB)
more ▼

asked Nov 25 '14 at 01:40 PM in Using UE4

avatar image

Sven_R
1 4 5 6

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

2 answers: sort voted first

Here's one way to build an orbit camera...

The starting point here is the first person template, mostly because it saves us the trouble of setting up the player inputs, but ignoring that, you can easily start from wherever, just make sure the inputs match.

The picture tells the rest of the story:

alt text

orbitcamera.png (1.4 MB)
more ▼

answered Nov 25 '14 at 07:51 PM

avatar image

Xenome
2.1k 64 54 120

avatar image Sven_R Nov 26 '14 at 08:43 AM

Thanks Xenome for the great work!

Maybe you (or somebody else) can help me furthermore. As I mentioned before, I want to use this for an Ipad app. Can you show me how to create touch controls. I don't mean this litle joysticks that you get in mobile view. I would like to stear the orbit camera with swiping above the screen. So orbit with swiping and dolly/zoom with pinch. Unfortunately I wasn't able to find about creating this control setup.

Would be great if you can help!

avatar image rich0550 Sep 11 '17 at 11:43 PM

Can you post this file ?

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

Hi I think its working too bad not its way beyond my pay scale. hard to understand.

I managed to get the camera swing arm to not collide that was bugging. The dolly speed you have as -400 does that mean it has been slowed down by that amount? This is working. Very rare to ever have something so complex work when trying it out. Thanks! How the heck do you ever figure stuff like this out!

How will this run in a mobile app. What needs to be done to add touch?

Thank you!

images attached just in case

variables.jpg (80.6 kB)
viewport.jpg (105.6 kB)
event-graph.jpg (262.3 kB)
more ▼

answered Sep 12 '17 at 01:14 AM

avatar image

rich0550
1 1 1

(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