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"

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. 

SpawnActorfromClass Rotation not working as expected

Hi, ive been trying to spawn a few actors using the SpawnActorfromClass blueprint Node, however they dont seem to be spawning with the correct rotation that im supplying them.

The below image shows the 6 actors spawned with rotations that SHOULD be the same as the Arrow component attached to the bounding box you also see.

alt text

Here is my BP script. Im getting the world rotation of that Arrow component and supplying it to the SpawnActorfromClass node, but it only ever seems to work from the Editor viewport when i run a non dedicated server. You can see in the above Image that one Actor is oriented correctly.

alt text

Does anyone have any idea if this is a bug or am i doing something wrong here??

Product Version: UE 4.8
Tags:
bprotation.png (134.9 kB)
more ▼

asked Jun 22 '15 at 05:57 AM in Bug Reports

avatar image

DevilsD
887 57 17 52

avatar image TJ V ♦♦ STAFF Jun 22 '15 at 03:19 PM

Hi DevilsD,

I attempted to reproduce this in 4.8 but I couldn't get your results. Getting the World Rotation of an Arrow component is taken correctly by the SpawnActor node. Have you tried this outside of your project in a new test project yet?

avatar image DevilsD Jun 23 '15 at 07:13 AM

Im not sure if this was clear, i think i missed the point to tell you that those are all separate network test clients. Their player character is spawned and then are possessed at that location.

avatar image TJ V ♦♦ STAFF Jun 24 '15 at 08:05 PM

Would you be willing to recreate this issue in a test project and post it here?

avatar image DevilsD Jun 25 '15 at 09:53 AM

Ok, so i believe ive narrowed the issue down to the "Use Controller Rotation Yaw" and "Use Pawn Control Rotation" checkboxs on the playercharacter and its attached camera respectively. Since first person is the perspective im using this seems to be required. During testing i turned these off and the playercharacters were spawning with the correct rotation but obviously now the camera will not move with the mouse nor will the playercharacter model now move.

Im unsure as to how to get around this, im positive its not a bug now, only my misunderstanding.

Also thinking further ahead this leads me to believe that the Controller of the playercharacter is not orienting to the rotation that is being supplied when spawning the playercharacter.

Is there a way around all this?

I did try rotating the players Controller but that seemed to have no effect at all.

avatar image Ben Halliday STAFF Jun 25 '15 at 05:49 PM

Hi DevilsD,

Can you recreate this in a test project and upload that somewhere like Dropbox or Google Drive for me? I haven't been able to reproduce this behavior but I can't see enough of your setup. Thanks!

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

1 answer: sort voted first

Hi DevilsD,

We haven't heard back for you in a while, so I'm resolving this post for tracking purposes. If you're still experiencing this issue and can provide a test project for us or any additional information, please feel free to reply and we'll continue investigating. Thanks!

more ▼

answered Jun 29 '15 at 07:04 PM

(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