PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

Hero

In-Game CSG System

Author: YoSoyTofu

Destructible environments in Roblox games are about to get more realistic and more immersive…

Destructible environments have added a new dimension of interactivity in video games for almost as long as they’ve been around. Not only does it feel great demolishing parts in a digital world, but seeing them react authentically according to the laws of physics can also be highly gratifying. From back in the days of the arcade to today’s high-end console and PC games, developers have capitalized on advancing technologies to bring their creations to life in more fun, more realistic, and more immersive ways.

Here at Roblox, we too have had a long history in allowing developers and creators to harness the power of our game engine to build massively scalable, physically simulated worlds. Since the dawn of classic games like Crossroads, we’ve seen millions of Roblox experiences take destructibility to a whole new level. Today, we’re excited to announce that we’ve taken things yet another step further by introducing a new system that will let developers further enhance gameplay and immersion. Inspired by our solid modeling feature in Studio, we’re proud to present our new in-game CSG system.

A new way to experience Roblox games

Previously, solid modeling was limited to Studio use only. It allowed developers to take different parts and combine them to build complex models or remove shapes from existing parts to sculpt otherwise impossible objects. This was a great way to create all sorts of mind-blowing structures or fine-crafted, realistic-looking environments with as few parts as possible. With today’s update, we’ve now extended this feature so that any developer or creator could implement this same functionality in their games.

Imagine a sword-based fighting game where you chop away at a tree and have it reflect the actual direction of your swing. Or a tank game where your shells can reduce entire structures to rubble, like in the demo we presented at this year’s Roblox Developer Conference (RDC).

Try it out!

Our developer community is hard at work experimenting with ways they could use this exciting new feature in their games, but you don’t have to wait too long to try it out. Here’s a link to an uncopylocked place where you can blast pieces out of rotating materials or fuse new materials onto them. It also includes a helper module script that rebuilds mechanisms with constraints and attachments.

To learn about implementing solid modeling APIs in your game, click here to visit our Developer Hub.

Let us know what you think about our new in-game CSG system on Twitter @robloxdevrel ! For all the latest news and updates on Roblox, stay tuned to the blog.