Subtracting Geometry

Is it possible to subtract one geometry from another dynamically (Boollean Modifers) in PlayCanvas? I am able to achieve it in Blender, but I would like to be able to animate such a process in PlayCanvas.

Thanks!

This is called CSG (Constructive Solid Geometry), not many game engines actually support it out of the box, if any (I know Unreal Engine 4 does not). You’ll find this kind of boolean operation in 3D graphics programs such as Blender 3D, Maya, etc.

From a quick search, it seems it most probably won’t be implemented.

If you’re confident enough in Javascript and WebGL, you could probably extend PlayCanvas to incorporate the feature using this as a basis: https://github.com/evanw/csg.js/.

1 Like

Thanks, I was considering doing that. Thanks for the link!