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"

SpawnActorFromClass not using Correct Scale

Hi,

Setup: Main BP (Player Character) - Child Actor Within Main BP spawns a projectile using GetWorldLocation.

The Spawned projectile has the correct location and rotation however the scale is incorrect.

I'm using the Spawn Actor From Class node. It is spawning an actor which is a sphere at 16cm in diameter.

The scale is correct if I drop the mesh / BP into the world.

In World vs Spawned

alt text

Mesh Scale alt text

alt text

However when I Spawn an actor from class the scale is incorrect and is around 4x bigger.

alt text

I have been through all my BPs and meshes to make sure that all the scales are set to 1.0, So the problem lies within the Spawn Actor From Class node even though it is displaying the output scale as 1.0.

alt text

Any information on this would be amazing as It has been racking mine and other's heads for hours.

Cheers

Product Version: UE 4.15
Tags:
more ▼

asked May 14 '17 at 10:56 PM in Blueprint Scripting

avatar image

Kuuwahi
45 7 13 16

avatar image Erumaru May 15 '17 at 05:38 AM

Did you reimport mesh or changed import scale?

avatar image Kuuwahi May 15 '17 at 01:45 PM

The problem occurred even before I imported a mesh and was using a standard sphere component.

But I have tried new meshes, new BPs, the problem seems to lay around the SpawnActor of class I Think.

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

1 answer: sort voted first

I have the same problem. Transform of a parent component won't apply to child objects when spawned by BP - spawn actor from class. Drag & drop to a scene applies the transform correctly.

Takashi

more ▼

answered Nov 27 '17 at 04:52 AM

avatar image

t4k4sh1
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