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"

Prevent character from clipping through moving actor

I have a problem with my character clipping through an actor that should push him out of the way, it's a trap-door that opens when a character stands on it and then closes after a short delay, knocking any characters in it's path out of the way, this gif shows how it should work

working

The problem is that the character sometimes clips through the trap door particularly when jumping while touching it.

not workingalt text

Does anyone have any ideas on how to prevent this from happening

Product Version: UE 4.10
Tags:
gif_1.gif (1.6 MB)
gif_2.gif (1.5 MB)
gif_3.gif (1.5 MB)
more ▼

asked Mar 26 '16 at 07:16 AM in Using UE4

avatar image

Moloskink
21 1 6 7

avatar image Jet27 Jul 01 '16 at 11:23 PM

This is very similar to the issue I'm having right now. Have you found any solution by now?

I've enabled Continuous Collision Detection and it seems to slightly reduce the problem, but it still occurs.

It seems as if collision isn't updated frequently enough, even with CDD on for both actors, so they manage to clip through each other before the engine registers a hit.

avatar image Moloskink Jul 05 '16 at 12:08 AM

Hi Jet, unfortunately no i haven't found a good solution for this, best i have been able to achieve is having a trigger slightly larger than the moving platform, if the character overlaps this trigger while the platform is in motion I calculate a knockback vector and apply that to the character. Also CCD seems only to be for objects simulating physics.

avatar image Aumaan Anubis Oct 23 '16 at 08:26 AM

Hello, I'm looking for a solution to this as well. Anyone have a fix for this yet?

avatar image Yashinski Apr 10 '19 at 01:45 PM

This is a really old post, Please tell me someone has figured it out :(

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

0 answers: sort voted first
Be the first one to answer this question
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