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"

How to make a bounding box spawn objects randomly?

I have created a bounding box in my level1 blueprint and have then edited the blueprint. Previously I have made an actor blueprint which spawns random objects however i want to do this by just editing the Bounding Box's Blueprint instead of making the platform and bounding box and then letting things spawn. I copied most of the stuff from my previous one but am getting this error when trying to connect: alt text

Product Version: UE 4.14
unreal1.png (554.5 kB)
more ▼

asked Mar 16 '17 at 12:00 AM in Using UE4

avatar image

1 1 1 1

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

1 answer: sort voted first

Try GetComponentBounds instead:

alt text

Is there any reason Trigger Box is your parent class though? If you make an actor blueprint you can add your own collision box and use box extent as normal. I'm not sure what Trigger Box has that you need for what you are actually doing.

cb.jpg (47.1 kB)
more ▼

answered Mar 16 '17 at 10:11 AM

avatar image

1.8k 49 22 67

(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