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"

Camera Pan Zoom Rotate around a target

Hi,

I would like to build a kind of 3d models viewer in UE.

I need something that gives me the chance to Zoom, pan and rotate a 3d Model. Something like Sketchfab.

https://sketchfab.com/models/d5c1f42...031bb0775727ee

Mouse Right click: Rotate

Mouse Wheel: Zoom

Mouse Wheel Click: Pan

Any suggestion?

Thanks

Product Version: UE 4.18
Tags:
more ▼

asked Dec 06 '17 at 08:21 AM in Blueprint Scripting

avatar image

safibet
1 1 3 2

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Camera on a Springarm does all that. Left/Right to control the Springarm angle, MouseWheel controls its radius. Panning is just moving the whole thing around.

more ▼

answered Dec 06 '17 at 11:35 AM

avatar image

Everynone
11.1k 68 22 47

avatar image Pixi Labo Feb 01 '18 at 09:25 PM

And how would you go about doing this? I can do the Orbit and Zoom pretty easily but I'm having difficulties doing the pan.

avatar image aNorthStar Feb 02 '18 at 09:53 AM

to pan... I'd use the Set Socket Offset node (which is a vector that can move your camera Z up, X forward, Y sideways)... you can use Add Movement Input to the Z and Y float values when you split the vector

avatar image Pixi Labo Feb 02 '18 at 02:50 PM

I have stumbled upon this forum that provide a camera that do just about anything the question ask. I managed to make it pan but my blueprint is probably a mess.

CameraPan

Alflakky's Camera styles

camerapanue4.jpg (827.1 kB)
avatar image Samypr Feb 02 '18 at 10:54 PM

Can you share your cam uasset with the pan included would really appreciate it

(comments are locked)
10|2000 characters needed characters left
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