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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Debugging the random rotation of the camera

I want to rotate my camera however trying both SetRelativeLocationAndRotation as well as SetWorldRotation for the CameraComponent as target did not work.

Then I suspected what if the roll, pitch, and yaw are not getting any value and wanted to print them in the top left cornet of the scene but nothing got printed. Why is the print doesn't work?

Additionally, I would want to make sure that pitch and yaw random values get changed every game tick. How can I make it like so?

alt text

alt text

I also have this one which doesn't work for SetRelativeLocationAndRotation: alt text

Product Version: UE 4.18
actor2.png (1.6 MB)
not-rotating.png (305.8 kB)
more ▼

asked Jul 16 '18 at 09:51 PM in Blueprint Scripting

avatar image

1 2

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

1 answer: sort voted first

alt text

image.png (245.8 kB)
more ▼

answered Jul 17 '18 at 12:06 AM

avatar image

11 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