func_physbox creation?

Is it at all possible to make a tool that allows players to create brush entities, namely func_physbox? A context menu for this tool would allow changing of height, width, and length, and, if possible (I doubt it) shape (basic Hammer editor shapes: block, cylinder, wedge, etc.).

I have no clue how lua and brush entities interact, so tell me if this can’t be done. :psyduck:

You can’t make brush entities in Lua as they are compiled with the BSP - however, you can probably fake them with meshes.

So one could use meshes to create a physics object in whatever shape they like? (I’m just looking for wedges and blocks.)

Looking over the mesh library on the wiki, but I can’t tell, are meshes just two-dimensional?