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"

How do I Spawn 2 objects from 1?

The question is simple enough but I am going for a more elaborate action...

I want to have a snake or centipede like character and when you shoot them in a section they would split into 2 of them. The section I shoot would disappear and a new head would show up on the cut off section.

I was thinking destroy the first one to fire off two new ones but then how would i know the size that each new snake should be. Eventually the user should be able to kill the entire snake as they blow away each body section or head for that matter.

Product Version: Not Selected
Tags:
more ▼

asked Mar 17 '15 at 03:15 AM in Blueprint Scripting

avatar image

BlackCrackerStudios
23 3

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

1 answer: sort voted first

You have the right idea, you destroy the character and spawn 2 in same place, I guess to make it perfect you'd have to make sure everything matches up in your 3D Software before exporting to UE4, if you'd want to do this continuously, you'd need to figure out the correct scale to make it look like you want. For example each time you'd spawn new ones you could half the scale size.

more ▼

answered Mar 17 '15 at 11:57 AM

avatar image

Jurif
632 26 15 45

(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