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"

Collision doesn't push player off the stage

I'm making a small platformer, and I set up two rectangles moving back and forth using matinee. They move the way I want them to, but they don't push my character off the stage, just pass through him. I would like to have them push him off and when he dies, he respawns at the start of the level. alt text

Product Version: UE 4.10
Tags:
capture.png (189.5 kB)
more ▼

asked Jan 16 '16 at 01:51 AM in Using UE4

avatar image

SoraJr
268 64 52 69

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

2 answers: sort voted first

This is just a guess from the picture, but it looks like you're using Matinee to move the meshes. I don't think this will actually simulate physics or collisions. Instead you should create a blueprint that causes the actor to move, and make sure you have the collision presets for both your player and the moving actor set up so they block each other.

more ▼

answered Jan 17 '16 at 07:56 PM

avatar image

bongsRus
21

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

Hi, you might have figured this out by now.

I think your problem is that your sliding walls are BSP.

Try making static meshes from them, and enable collision =)

more ▼

answered Jan 17 '16 at 04:59 AM

avatar image

Malektha
1 1

avatar image SoraJr Jan 17 '16 at 07:47 PM

I'm sorry but that was the first thing I change before I went on here. They're both Static meshes, even the floor too. They just clip through the player and keep him in place, but don't push him off

avatar image Malektha Jan 18 '16 at 02:35 PM

and i am sorry my suggestion did not work :)

I see an answer below that seems like a good solution, hopefully it works =)

(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