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"

Rotating player character without camera with slider

Hi, I'm creating a character creation screen all by myself. I'm creating a rotation slider so I could rotate the character. I will attach the BP I'm using. Unfortunately I'm getting the character to rotate along the Z axis... with the camera. So it looks like its rotating around my camera boom. I can also link a video, Any help would be great! thank you in advance! https://www.youtube.com/watch?v=r1-77MWM3HE

Product Version: UE 4.20
Tags:
more ▼

asked Aug 18 '18 at 07:11 PM in Blueprint Scripting

avatar image

Matgarciaz
3 1 2

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

2 answers: sort voted first

you need to be using a camera that is not attached to the character when in the character creation screen. personally i wouldnt posses and or spawn the character until you are done with the creation. or you could just add in a second camera to your level which is used by default, then when you hit the button to begin playing just use a view target with blend to switch cameras.

more ▼

answered Aug 18 '18 at 07:28 PM

avatar image

ThompsonN13
9.1k 31 8 20

avatar image ThompsonN13 Aug 18 '18 at 07:55 PM

the below pictures show an example of what i meant. in picture one you will see that there is two cameras in the scene, one is part of the character (the one on the left) and the other is independent of the character (not attached, one on the right). by selecting the camera on the right you cant set it to be the active camera at the beginning of the level by setting the auto player activation to player 0. you can then move on to picture two where you will see a small script in the level bp. this script just switches the camera from the one not attached to the character to the one that is attached. i did this script to run when the Q button is pressed for the sake of simplicity in testing but you could easily have it run based of a widget input or some other event.

alt text

alt text

capture.png (1.0 MB)
capture2.png (105.5 kB)
avatar image Matgarciaz Aug 18 '18 at 08:58 PM

Nice! thank you very much this worked!!

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

Check out the topdown blueprint template (default wit the engine). It has such an camera and should give you an answer an how to do it with the camera staying in place.

more ▼

answered Aug 18 '18 at 07:15 PM

avatar image

stealthgun5
188 5 7 21

(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