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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Blueprint falls through the floor

Hi all,

I'm a newbie in UE4, and have an issue to which I didn't found a solution on the internet.

My goal is to create a blueprint with a mesh that remains still in the air, until the player shoots it, at which points it becomes physic-enabled and falls on the ground. The player should be able to walk through it until (s)he shoots on it (its colour change when this overlap happens)

So far, I've been able to create the blueprint with the static mesh, and to activate the physics when the player shoots it. The issue is that the mesh falls through the floor. Best guess is that it is a collision error. As the player should be able to walk through it until shot, the default collision is "overlap all".

Hence I've tried to do this trough blueprint, as attached, but the mesh still falls through the floor. The floor itself has collision "blockall". I've tried to setup a collision box as parent for the blueprint, it didn't fix the issue.

Could someone please help...?

alt text

Product Version: UE 4.14
Tags:
capture.png (314.7 kB)
more ▼

asked Jan 29 '17 at 10:41 AM in Blueprint Scripting

avatar image

TCibils
26 3 5 7

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

1 answer: sort voted first

I've found my own answer so I might as well post it here, it might be useful for someone x)

  1. Deleted the root hitbox, set the mesh as root

  2. User the "set collision response" and "set collision enabled" together, works fine now.

Good luck for your projects everybody =D

alt text

capture.png (344.0 kB)
more ▼

answered Jan 29 '17 at 11:33 AM

avatar image

TCibils
26 3 5 7

(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