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 to set object or floor fall down when character touch?

Hi i need some one to help me i can't think of this.How to set object or wall fall down when character touch? For example when character jumped to a floor then the floor will fall down

Product Version: UE 4.14
Tags:
more ▼

asked Dec 16 '16 at 10:31 AM in Using UE4

avatar image

paeillicit
71 4 8 11

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

2 answers: sort voted first

You need :

  1. Collision handling for your floor (with check for player and not some other actor)

  2. SetSimulatePhysics for floor when collision / overlap happens. this will cause it to fall down.

more ▼

answered Dec 16 '16 at 11:23 AM

avatar image

Holybreath
378 10 6 19

avatar image paeillicit Dec 17 '16 at 06:44 AM

Would you please give me picture for more understand please ?

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

1.Create a blueprint 2.Create an actor blueprint. 3.Add a static mesh to the blueprint. 4.Add your static mesh to the static mesh component. 5. Add an event hit node in the event graph of the blueprint. 6.Cast it to your character then drag out the static mesh component and drag of the static mesh node and search for set simulate physics to true. 7.Finally, drag out the blueprint into the world.

alt text

alt text

alt text

alt text

alt text

floorfall1.png (673.2 kB)
floorfall2.png (376.9 kB)
floorfall3.png (300.5 kB)
floorfall4.png (326.6 kB)
floorfall5.png (276.4 kB)
more ▼

answered Dec 17 '16 at 02:15 PM

avatar image

III47III
70 5 8 12

avatar image III47III Dec 17 '16 at 02:22 PM

The rest of the images here: alt text

alt text

floorfall6.png (280.7 kB)
floorfall7.png (755.5 kB)
avatar image paeillicit Dec 18 '16 at 03:49 AM

Hi Thank you for helping me i have tired your blueprint after i hit play and when my character touched the floor it fall down but it's very fast and my character's position flip over it's not smooth fall down like flame animation. Do you know how to fix this problem ?

avatar image III47III Dec 18 '16 at 11:38 AM

If you want the floor to fall after a short time after the player touches it then you'd put a delay node right after the event hit node and connect it to the casting node. I'm not sure what you mean by your character flips over,Can you provide a picture of that?

(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