s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter