s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
ModelPropData
chevron_left Classes
class
ModelPropData

Constructors

functionsModelPropData

Properties

data_objectBakeLightingdata_objectExplosionDamagedata_objectExplosionForcedata_objectExplosionRadiusdata_objectExplosivedata_objectFlammabledata_objectHealthdata_objectImpactDamagedata_objectMinImpactDamageSpeed
ModelPropData
Generic prop settings. Support for this depends on the entity.
class Sandbox.ModelEditor.Nodes .
Sandbox.Engine

build Constructors 1

ModelPropData ()

data_object Properties 9

BakeLighting
bool
When this model is used as prop_static, it will bake lighting by default depending on this value.
ExplosionDamage
float
Amount of damage to do at the center on the explosion. It will falloff over distance.
ExplosionForce
float
Scale of the force applied to entities damaged by the explosion and the models break pieces.
ExplosionRadius
float
Range of explosion's damage.
Explosive
bool
If true we'll explode this prop when it's destroyed
Flammable
bool
If true well treat this prop as flammable, meaning it can catch fire and burn.
Health
float
When this model is used as prop_physics, it's health will be set to this value.
ImpactDamage
float
The amount of damage this deals to other objects when it collides at high speed. If set to -1, this will be calculated from the mass of the rigidbody.
MinImpactDamageSpeed
float
Minimum impact damage speed to break this object.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter