Bring real world creation to your experience with Constructive Solid Geometry (CSG) improvements [Beta]

NNNNice

Regardless of Roblox’es decisions in the past its great to see awesome updates like this. Honestly they fill me with hope for the future of the platform.

Awesome job guys. cant wait to see what you bring next !

5 Likes

Oh no. I don’t know how I made that mistake.
Here is a fixed file
TankDestruction_Fixed.rbxl (1.5 MB)

I will get someone to fix main post (Done)

6 Likes

Even with these improvements to CSG, the lighting bug when using GeometryService:SubtractAsync() still exists. Below is another example of it in action.
bug_report.rbxl (47.9 KB)

2 Likes

Currently the splitapart setting for SubtractAsync() has a problem where the split part’s cframe doesnt change, the cframe of the part remains the origin of the original part that was subtracted overall great update though


roblox pls fix

2 Likes

This is intentional behaviour, use BasePart.ExtentsCFrame

6 Likes

I’m not sure why, but CSG is crashing my Roblox Studio every time I try to use it. I have attached repo place, and a video. Crashes caused by this issue often do not involve an error message, the studio just crashes without a warning. The crash usually occurs after closing, or when beginning a new play test session.

RobloxStudioBeta_s8rSTMUPtg

CSG Crashing Studio.rbxl (44.7 KB)

2 Likes

I absolutely love this update, would this also affect collision precision? I remember making a massive mesh and I could walk on the invisible geometry which affected a few of my games and with this update, I am wondering if there is more flexibility with that.

1 Like

Could we get the example place where you split the bridge planks in half? Nice update!

1 Like

The bridge is in Example #2: Simple Tools. It should be to the right once you spawn in

3 Likes

hope this brings better poly counts later on, still suffering from terrible poly counts, just so much unneeded geometry

2 Likes

Damn, Roblox created a feature that I originally had to create myself! Maps like Battlefield or Rainbow Six. And I think you can do amazing things like VR pottery games and more!

1 Like

Is this true even with PreciseConvexDecomposition?

I noticed that my studio crashes when I fire at the wild west houses with the normal tank!

Was able to reproduce looking into now

1 Like

Looking into this crash issue also

1 Like

This is a godsend to creating realistic bullet holes and more

2 Likes

I wonder if it could be used with aerodynamic forces based airplanes to simulate realistic injuries, such as if someone shot the wing and now there is a hole and the plain can’t fly as good as before.

6 Likes

Ok so this is an interesting error (and surprisingly difficult to debug but I think I have the cause of it now).

Due to when Roblox deploys it might be a while before we are able to deploy the fix :frowning: but I do have a workaround. Try to create the initial part operation locally as opposed to creating it initially in studio

I’m uploading a slightly edited version that seems to fix the issue (while I’m working on fixing the root cause :slight_smile: )

CSG Crashing Studio_Workaround.rbxl (41.6 KB)

~BelgianBikeGuy

4 Likes

It should! That being said I’m actually working with the Aero team to make sure it does (we need to build an example for it). It’s actually something we really want to do :slight_smile:

3 Likes

Nice feature!! So um is it possible to use it as lightsaber blades for slices on any part material that is only metal whenever it sliced it show neon material on the part after it cut the metal with this feature?

1 Like