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"

I want to make a cylinder disappear on collision with a character

I have a third person character in my project, and would like to make a cylinder object disappear when you walk into it. I am new with UE4. Here's what I have so far:

![alt text][2]

alt text

Thanks in advance for any help.

Product Version: UE 4.18
Tags:
collisionimg.png (155.0 kB)
more ▼

asked Apr 21 '19 at 10:47 PM in Blueprint Scripting

avatar image

Jezzaw21
1 1

avatar image Nebula Games Inc Apr 22 '19 at 04:44 AM

I would use a simple overlap event. The answer below is a good way to go. If you need help with overlap events and setting up their collision properties you can check out this video. I go in depth on all kinds of overlap settings.

https://youtu.be/oAEs-BTliT4

Also, if you are new to UE4 you might find these tutorials helpful for getting a good foundation in blueprints down.

https://www.youtube.com/playlist?list=PLyu-W38DvZhqByAoeva1jewB5s78zQHIy

avatar image Jezzaw21 Apr 22 '19 at 11:38 AM

I'll check them out. The playlist looks really good, as most tutorials I've done only cover one thing and I was looking for a full basics tutorial. Thanks.

avatar image Nebula Games Inc Apr 22 '19 at 11:47 AM

Sounds good! If you actually go through all of these I think you'll have a pretty good foundation to build off/ understand other more complex tutorials. Feel free to comment any questions you have I'll usually respond within a day or 2.

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

1 answer: sort voted first

Create Blueprint

Open it

Go to viewport

add collision box component

scale it

add cylinder component

scale it

go to event graph

event actor begin overlap node - cast to thirdpersoncharacter - destroy actor

see image for help alt text

capture.jpg (43.1 kB)
more ▼

answered Apr 22 '19 at 01:28 AM

avatar image

kfkdjdsk
38 2 6 7

avatar image Jezzaw21 Apr 22 '19 at 11:34 AM

Thanks! It worked perfectly, and I can do it with other objects which is really handy.

(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