Is it normal that the physics tool doesn
Is it normal that the physics tool doesn't detect landscape actors in UE 5.3.2? When I drag an object from the content library into a landscape the object snaps to the landscape perfectly. However, if I do a physics drop on the same landscape, the object just falls through the landscape as if it's not there.
7 Replies
Hello, landscape actors are supoprted from physics in UE5.3.x
If you keep the output log open, do you get any error?
Can you check if your landscpe "Collision Presets" is set to "Block All" or maybe isset to "No Collisions"?
Hey there, I haven't added Landscape modification updates yet, so if you have started physics, modified the landscape, then it will still read the older data before painting.
What you can try is to stop your simulation, select the landscape, type in
Remove from Physics
and then rerun and it should automatically readd the Landscape in the background with its new updated data.
If it's still the case, it might be that your original object got incorrect collision meshes(mind you, we are not always using unreal's collision data as it's our own system).
Always try to just drop a simple Sphere and see if it collides, if not and the Asset can be publicly shared then please share the asset and we can look into it.Q: "If you keep the output log open, do you get any error?"
A: I get a warning: "LogPackageName: Warning: TryConvertFilenameToLongPackageName was passed an ObjectPath (/Engine/BasicShapes/Sphere.Sphere) rather than a PackageName or FilePath; it will be converted to the PackageName. Accepting ObjectPaths is deprecated behavior and will be removed in a future release; TryConvertFilenameToLongPackageName will fail on ObjectPaths."
Q: "Can you check if your landscpe "Collision Presets" is set to "Block All" or maybe isset to "No Collisions"?"
A: checked, set to BlockAll
Q: "What you can try is to stop your simulation, select the landscape, type in Remove from Physics and then rerun"
A: Tried it, no effect
Q: "Always try to just drop a simple Sphere and see if it collides"
A: sorry for the stupid question, but how do I activate Physics on objects that are not coming from the content library? I don't have any sphere there.
I tried creating another landscape actor on the same level, and physics work there but... the dropped objects don't bring the respective materials...
I can't share the landscape actor because it's textured with M4 (Magic Map Material Maker). Do you think there could be a conflict with this package?
Now... this is strange. After these experiments I stopped physics and simply did a "place here" of one of the same rocks into the landscape, and it also came untextured.
But it was correctly placed on the landscape, so the collision is there.
This is weird... I restarted the project and the level and it still happened the same (textures weren't coming). Then I restarted the project, brought the same item from the content library and textures came, then reoponed the original level and now textures come again.
I tried drop again and now I saw an error: "LogStreaming: Error: Couldn't find file for package /Game/Megascans/3D_Assets/Mossy_Rock_xieiegj/MI_Mossy_Rock_xieiegj_2K requested by async loading code. NameToLoad: /Game/Megascans/3D_Assets/Mossy_Rock_xieiegj/MI_Mossy_Rock_xieiegj_2K"
Another warning: "LogPackageName: Warning: TryConvertFilenameToLongPackageName was passed an ObjectPath (/Engine/BasicShapes/Sphere.Sphere) rather than a PackageName or FilePath; it will be converted to the PackageName. Accepting ObjectPaths is deprecated behavior and will be removed in a future release; TryConvertFilenameToLongPackageName will fail on ObjectPaths."
if you type in
Physics Tool
it should show up
select your object that you want as a Dynamic object and press Set Dynamic
the warnings should be whatever
if your object falls through, you can select it and press
Reset
if a mesh went through another(that you want as a Static Collider), you can try to add it manually to physics system(as it implicitly searches underneath) and press Set Static
After i set the landscape to static, the sphere doesn't fall through.
And now other objects don't either!
That's it, the landscape needs to be set to static in the physics tool.
ok, note taken. 🙂
Soonish updated physics comes with some nice tutorial as well
if you find have/find any problems feel free to @ at me