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"

Player Rotation controlling another object's rotation

Newbie question: How do I set up a blueprint (either at level or character BP) to map a player controller's rotational values to an object's rotational values?

I'm using Mouse X and Mouse Y for the "Turn" and "LookUp" events as rotation.

Thanks in advance.

Product Version: UE 4.8
more ▼

asked Oct 10 '15 at 01:20 AM in Blueprint Scripting

avatar image

35 1 4 9

avatar image JTrocks55 Oct 13 '15 at 04:46 AM

Do you mean that when you turn, an object will turn at the same rate? Or like if you place an object now, it will place in this angle, but if you turn 20 degrees, the object will be placed 20 degrees differently? I am trying to figure out the second one and I think I am close. I will let you know.

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

1 answer: sort voted first

Get player controller and then get control rotation. You can set the object's rotation to that.

more ▼

answered Oct 17 '15 at 01:10 AM

avatar image

2k 62 24 111

(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