Download

Is it possible to create CSG in the editor programmatically?

Hi,

I’m trying to visualize some constructive solid geometry in Unreal. I have a text file that defines infinite planes whose intersections describe boundaries of the solid. What I would like to do is build a brush from the data in the text file.

After poking around the source a little bit the best lead I have is the FBSPOps class which seems to deal with building brushes and combining them using CSG. Unfortunately the documentation is not very thorough and since I’m not very familiar with Unreal I’m having trouble understanding where it fits into the bigger picture. Does anyone have experience doing something like this?

Thanks!