(might be fixed still on 4.2)
I exported my newly made list of physical surfaces to an outside ini file using the in editor details settings panel. The result for physical surfaces was:
PhysicalSurfaces=(Type=SurfaceType2,Name=“Wood”)
PhysicalSurfaces=(Type=SurfaceType3,Name=“Grass”)
PhysicalSurfaces=(Type=SurfaceType4,Name=“Metal”)
PhysicalSurfaces=(Type=SurfaceType5,Name=“Sand”)
when it should be:
PhysicalSurfaces=(Type=SurfaceType2,Name=“Wood”)
+PhysicalSurfaces=(Type=SurfaceType3,Name=“Grass”)
+PhysicalSurfaces=(Type=SurfaceType4,Name=“Metal”)
+PhysicalSurfaces=(Type=SurfaceType5,Name=“Sand”)
I use the export button to export my engine physics settings to an Ini file that I expect to be formatted correctly. It is not.
Each additional entry in the PhysicalSurfaces array requires a + prefix.
Hi Tim,
Has the format of this information in the ini file changed? To get any options to show up in the game, my DefaultEngine.ini needs it to be formatted similar to the above screenshot:
(The project I’m currently on is using version 4.5.1, I’m not sure what version that documentation applies to).
In addition, none of those settings show up in the Engine->Physics->Physical Surface section of the Project Settings in the editor, it’s just blank (but they do show up in the physics material assets, and blueprint etc). That might be due to some of our changes, but I just want to check if that’s a known issue from that version of the engine?
Things have changed since 4.5.1. The information in that doc is actually from 4.0 and earlier. That document is in need of some love to get it back up to where we are now and we do have a ticket in for this (UEDOC-1011). It’s backlogged at the moment, but for the most part the guide is still fairly accurate from my quick glance. The surface types that go to the DefaultEngine.ini no longer need to have the tag added or restart the engine to get them to show up though.
This is the basics of what it should say now (I’ve just edited out doc file to easily demonstrate):