source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[ALL] (Vscript) Make/Destroy Physics

Open ALIEN31ITA opened this issue 7 months ago • 1 comments

MakePhysical( nSolidType, nSolidFlags, asleep ) DestroyPhysics()

Description

These vscript function can be called on any entity, to make, or destroy physics, letting the user experiment more for their creations, instead on relaying on prop_phyisics or other already physical entities.

this doesn't come with safety checks, so for example, you can run this on players if you ever wanted to, so use at own risk.

ALIEN31ITA avatar Jun 18 '25 23:06 ALIEN31ITA

Tested, LGTM

kiwitf2 avatar Jun 19 '25 05:06 kiwitf2