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"

Rotate the Player in another Blueprint

Hello, How can I rotate the player outside of the player's blueprint, with another blueprint, using the "MyCharacter" from the FPS exemple?

Thanks!

Product Version: Not Selected
Tags:
more ▼

asked Apr 05 '14 at 09:16 PM in Blueprint Scripting

avatar image

Hexabeast
1 2 2 3

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

6 answers: sort voted first

Is Set Actor Rotation the Node you want?

more ▼

answered Apr 05 '14 at 09:22 PM

avatar image

mikepurvis
2.5k 102 67 261

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

No, because when I set the rotation of the player using this node it doesn't work (but it works with any other actor)

more ▼

answered Apr 05 '14 at 09:48 PM

avatar image

Hexabeast
1 2 2 3

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

You can do two things that I'm aware of.

Setting by Blueprint Interface Class

https://answers.unrealengine.com/questions/4964/how-to-have-blueprints-pass-variables-to-each-othe.html

Setting by Get Player Index

alt text

If you have a custom player class and create variables within it to determined if this the player you want to update the rotation. You can pull all actors and do it globally.

more ▼

answered Apr 05 '14 at 10:01 PM

avatar image

PeterLNewton
2.1k 75 37 111

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

If I put that into a blueprint which is on scene: alt text

the rotation does nothing, why?

problem.png (62.3 kB)
more ▼

answered Apr 06 '14 at 09:49 AM

avatar image

Hexabeast
1 2 2 3

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

I don't know If you fixed it but you just have to use "Add Controller Yaw Input" which is the same as you use when you turn around in game :)

more ▼

answered Nov 14 '14 at 10:53 PM

avatar image

iUltimateLP
188 17 28 38

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

You have to use SetControlRotation in PlayerController as solved by Ben Halliday here: https://answers.unrealengine.com/questions/72435/question-how-do-i-set-the-yaw-rotation-of-the-play.html

Another option is Add Controller Yaw Input, depending on your needs.

more ▼

answered Dec 18 '14 at 10:11 PM

avatar image

Aestial
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