Does anyone know how to do this or if it is even possible?
My first thought was that since UE4 generates distance field meshes automatically, in theory it seems like it should be possible to use them but I’ve yet to find any way to export them or save them to a file. Plus I don’t know how they’re actually stored, are mesh distance fields stored as volume textures like regular UE4 volume texture assets?
In the Volumetrics plugin, there is a blueprint that voxelizes a static mesh and generates a distance field for it, but I’m baffled by how it works and there doesn’t seem to be a function to generate a static texture.
I also thought perhaps I could just sample the global distance field using Distance to Nearest surface with the EncodeVolumeCoordinates node, but it doesn’t seem to work, it just seems to output nothing. I don’t think the global distance field would have enough resolution for any meaningful detail anyway but I figured it was worth trying.
Not sure what else to try at this point…