Hello,
I need some help with a little python syntax problem.
I would like to set “Double Sided Geometry” to “true” for a bunch of static meshes, as can otherwise be done manually in the mesh editor in the Collision section of the asset details.
The python API reference looks like this, but I don’t know what tah tells me and how to write the code.
I tried these and more: (assuming “MeshAsset” contains the asset loaded into memory and leaving out any code around the relevant line)
for MeshAsset in AllMeshAssets:
MeshAsset.set_editor_property("double_sided_geometry", True)
for MeshAsset in AllMeshAssets:
unreal.BodySetup.double_sided_geometry(True)
for MeshAsset in AllMeshAssets:
unreal.BodySetup("double_sided_geometry", True)
for MeshAsset in AllMeshAssets:
unreal.BodySetup.double_sided_geometry(MeshAsset, True)
for MeshAsset in AllMeshAssets:
unreal.BodySetup(double_sided_geometry)
for MeshAsset in AllMeshAssets:
unreal.BodySetup(MeshAsset, double_sided_geometry=True)
Thanks everyone!