class
ModelPropData
public class ModelPropData Generic prop settings. Support for this depends on the entity.
Constructors
ModelPropData() Properties
| Name | Type | Description |
|---|---|---|
BakeLighting | Boolean | When this model is used as prop_static, it will bake lighting by default depending on this value. |
Health | Single | When this model is used as prop_physics, it's health will be set to this value. |
Flammable | Boolean | If true well treat this prop as flammable, meaning it can catch fire and burn. |
Explosive | Boolean | If true we'll explode this prop when it's destroyed |
ExplosionDamage | Single | Amount of damage to do at the center on the explosion. It will falloff over distance. |
ExplosionRadius | Single | Range of explosion's damage. |
ExplosionForce | Single | Scale of the force applied to entities damaged by the explosion and the models break pieces. |
MinImpactDamageSpeed | Single | Minimum impact damage speed to break this object. |
ImpactDamage | Single | 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. |
Assembly:
Sandbox.Engine Namespace: Sandbox.ModelEditor.Nodes Full Name: Sandbox.ModelEditor.Nodes.ModelPropData