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"

Actor smaller when spawned from class

I have a blueprint for a door that is being spawned on a invisible location. The size of the door is x: 1.3, y: 1.4, z:1.3. When I drag the actor (door) from the content browser, it appears as its normal size. When it is spawned using the "spawn actor from class" function, it is proportionately smaller to whatever size is set to the original blueprint. Shouldn't everything be the same size as the blueprint? Is there a way to fix it? Thanks!

Product Version: UE 4.21
Tags:
more ▼

asked Nov 14 '18 at 03:15 AM in Blueprint Scripting

avatar image

largoodie
1 2 2

avatar image Nebula Games Inc Nov 14 '18 at 09:21 PM

Expand the "transform" pin on the spawn and look at "scale". Might be set to 1,1,1

avatar image largoodie Nov 15 '18 at 02:22 AM

I tried that. Oddly enough it still spawns as the same size even when I change the size of the spawn point to 1.3 1.4 1.3.

avatar image Nebula Games Inc Nov 15 '18 at 03:25 AM

Could be the way it is parented in the BP or if it is getting attached to another actor you have to make sure the scale remains the same. Screen shots would help.

avatar image largoodie Nov 15 '18 at 03:39 AM

Here is the blueprint of the door: https://gyazo.com/a0162fe307617ce49c8bb55c6e5a0899 Here is the size comparison of what is dragged in(left) and what is spawned using a blueprint (right): https://gyazo.com/1eeba92e3c74fa21934bb69574cad124 Here is the size of the object I am spawning the door on: https://gyazo.com/cd7f8457b9b9825ffc2e28429ab07bd2

Hopefully this is what you were looking for. Thanks!

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

0 answers: sort voted first
Be the first one to answer this question
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