[Landscape] How Enable Collision With Physics Kactors

Dear Friends at Epic,

How do I enable Landscapes to have collision with static meshes that are moveable and simulating physics?

My physics actor bounces off of static mesh box on top of landscape quite happily

but falls right through landscape itself to infinity below

I did not see a property in landscape details for enabling collision with physics actors

I also do not see how to extend Landscape, making a blueprint, to set collision myself, when I look to add a blueprint Landscape actor is not on list

I tried blueprinting existing landscape actor in my level and I get endless crashes to desktop as per this post
https://rocket.unrealengine.com/questions/5213/crash-when-i-try-to-make-blueprint-from-landscape.html

So my question is: How can I successfully make Physics Actors / Static Mesh Actors with physics simulation bounce off of landscapes properly?

:slight_smile:

could someone answer this please

It’s essential for my game to have landscape bounce kactors off of itself, as well as Apex destructible pieces.

:slight_smile:

:slight_smile:

landscape does block actor collision capsules, my character runs along surface just perfectly, but Static Mesh Actors with physic simulation fall right through

:slight_smile:

:slight_smile: :slight_smile: :slight_smile: :slight_smile: :slight_smile:

I did some tests and it seems to only work with certain collision data created on mesh currently. For example if you edit Torus and change collision to a ‘sphere simplified collision’ then torus will collide with landscape every time. Box collision seems to work some of time if its not moving to fast while colliding. It might be a bug or maybe there is a box that needs checked somewhere that will fix it.

thanks for additional input Skylar!

Epic Devs please address this in-depth so my project can go forward :slight_smile:

I’m adding QA team here so that they can have a proper test case. Make sure you don’t have any non-uniform scale. That doesn’t work well for certain shapes.

Thanks,

–Lina,

Thanks Lina!

No, I didnt have any non-uniform scaling.

I just dragged and dropped about 7 of engine primitives as well as 2 if my own imported meshes, for which I created convex collision, and turned their physics simulation on per-instance, and they all just fell right through world.

Thanks for getting on this, it’s essential for my project to get landscape actor responding to kactors :slight_smile:

Once you all can get it sorted out I will have a fun video for you of spawning kactors during gametime!

:slight_smile:

You know Stephen you have some magical way of helping me to find solutions!

I did nothing other than

-export every layer and height map to .raw files

-and then delete old non-physics-working landscape (still wasnt working btw, my dropbox version is non-working one still (as far as I know))

-and then remade landscape from the .raw files and my layer infos

and

now collisions with simulating static mesh actors work!

I still have no idea what problem was

but you might find something of interest in my original project upload that was for recursive anim blueprint crash issues

sooooo

Thanks Stephen!

I got it working now!

And if anyone else has this issue, I can highly recommend them or you to tell them to just re-import everything

its a very easy process :slight_smile:

:slight_smile:

I love landscape tool already, cant wait for new GUI !

I’m glad I was able to put you on a path towards figuring out a solution.

It is certainly interesting that your Landscape somehow got into that state though. I will load up your map and do some testing to see I can determine what’s going on.

Thanks!

Hi ,

I have been dropping moveable StaticMeshes with physics onto Landscapes for past few minutes, and I am not experiencing issue you are reporting.

Very simply, I made a new level. Added a Landscape with hills. Then I went into Engine/EditorShapes/Meshes, and I added a whole bunch of these to level. I raised them over landscape, enabled Moveable and Simulate Physics, and I pressed Simulate (I also did Play In Editor). All meshes fell and collided with landscape. (A few don’t have best collision and poke through landscape, and once or twice a mesh may have fallen through, but that is not degree of severity that you are reporting).

I even edited some of meshes in StaticMesh Editor to give them Auto Convex collision, and these collided okay too.

If you follow these basic steps in a fresh project, are you still experiencing issues?

I did your steps and on a new map and it did work

but

with my own landscape in my own level, ALL meshes fall right through map with 0 collision

I made landscape in-editor using current version, I did not import anything, I think might have changes some component sizes or something before making landsacpe

but only thing I did after making landscape was sculpt stuff :slight_smile:

I have not extended landscape actors cause I could not figure out how

my project upload on drop box has map in question, map which loads automatically when project is loaded in editor

Can you please take a look at it?

This is huge important thing for my game and I am not particularly interested in re-doing my landscape.

physics landscape collisions not working at all for that map :), but static mesh to static mesh collisions work fine

I´m experiencing same thing, am I missing something?.

Landescape created from editor and actorwith simulate physics and go pass floor

Hey esekoi,

This is an archive post from our beta users, put here for reference. If you’re still experiencing this issue, please create a new question on AnswerHub so we can address it there. Thanks!