View Full Version : Making a destructable collumn.
07-11-2007, 08:53 PM
I am having trouble making a destructible wall, or column. the only thing destructible thing i have made is glass. How do i go about making this wall crumble when i shoot it? do i simply tie an entity to make it breakable? that hasn't seemed to work.
07-11-2007, 09:13 PM
no for proper crumbling you need to make the blocks it would crumble into as func_physbox and then have them motion disabled etc. then when you shoot it the crumble apart.
Theres a way to that built into models and its usually the best wya to get the effect.
07-11-2007, 09:16 PM
func_breakable gives you a generic set of options, one being instantaneous destruction rather than incremental. If I wanted the latter, I would cut the column up into individual entities, as a starting point.
func_physbox has an option to explode, although the only the destruction part seems to work most of the time.
07-13-2007, 06:58 AM
Func_breakable is the best to use in this situation. It has gibs and func_physbox isn't the best for performance (single player not so bad, multiplayer isn't good). You would have to make a whole set of func_breakables though, so remember to nodraw what the player can't see so you don't have unnecessary world polygons.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.