Hello,
I am creating a running game through the tutorial and I was trying to make items disappear on going over them so i messed around with a few collision settings etc and now the ground falls down everytime i test/play.
Please help I cannot find a fix.
Nachtmahr
(Nachtmahr)
November 1, 2017, 2:10am
2
How about some screenshots? We are no mindreaders here… maybe you turned simulation on for your Items?
Hey,
The floor seems to fall through but walls remain up.
Thanks.
Nachtmahr
(Nachtmahr)
November 1, 2017, 3:02am
4
xD I did not mean screenshoots from your floor. your Blueprints, Settings, etc. Did you check if Simulate Physics is checked off?
Sorry, I am really new to this. Thank you for the help, i do appreciate it.
I could have possibly messed up settings trying to make items get removed when i run over them.
Which part of settings would the Simulate Physics bit be to do this?
Thanks
Nachtmahr
(Nachtmahr)
November 1, 2017, 3:08am
6
Via Script or via Checkbox on the Floor Component. https://i.imgur.com/IvfKP2I.png
okay i turned off the simulate physics for the floor and now the floor and pieces are staying up but my character is falling through. I have unchecked physics for him.
that is for my character.
Nachtmahr
(Nachtmahr)
November 1, 2017, 3:40am
9
Make sure your Floor is set to Block for Collisions. And also make sure that your Character uses the Pawn Collision Preset.
Character Collision preset is Pawn.
Simulate Generates Hit Events is unchecked
Generate overlap events is unchecked
Character is still falling through floor.
Floor is remaining intact now though.
Floor is at BlockAll collision presets
Simulate Generates Hit Events is unchecked
Generate overlap events is unchecked
Nachtmahr
(Nachtmahr)
November 1, 2017, 4:08am
11
Allright then check your Floor Asset and see if you have Collisions on the Asset. If not add them. Setting Up Collisions With Static Meshes | Unreal Engine Documentation
Asset (cube) has BlockAll set onto it.
The project was working fine until i tried to change some settings so it would pick up the coins on running.
Character was running on floor fine etc.
This is Pawn Preset settings to ensure they are ok.
Nachtmahr
(Nachtmahr)
November 1, 2017, 4:14am
13
Oh thats the issue then. Nothing blocks. The defaults for pawn are these https://i.imgur.com/lPCs6Lq.png
in the collision settings on clicking character from viewport in blueprint this is what i changed to as per your image.
Unfortunately this has not changed it from falling through on playing/simulating.
Is it a problem with project settings possibly?
Nachtmahr
(Nachtmahr)
November 1, 2017, 4:30am
15
Im honestly not sure what you messed up. The only thing you need is Collision on the Mesh, and the Collision set to Block on both sides.
Capsule of Character: https://i.imgur.com/Hu3b9Bl.png
Mesh of Character: https://i.imgur.com/49f2zlF.png
Your floor can use Default or BlockAll.
Nachtmahr
(Nachtmahr)
November 1, 2017, 4:45am
16
=) you can convert my last comment to a Answer then so other people don´t open up a solved Post.
You fixed it!
I dont know who you are or what you do but thank you so much!