s&box docs
API ReferenceSandbox.ModelEditor.Nodes

public class Sandbox.ModelEditor.Nodes.ModelPropData

Generic prop settings. Support for this depends on the entity.

Constructors

Showing 1 constructors

Properties

Showing 9 properties

public bool Sandbox.ModelEditor.Nodes.ModelPropData.BakeLighting { get; set; }

When this model is used as prop_static, it will bake lighting by default depending on this value.

public float Sandbox.ModelEditor.Nodes.ModelPropData.ExplosionDamage { get; set; }

Amount of damage to do at the center on the explosion. It will falloff over distance.

public float Sandbox.ModelEditor.Nodes.ModelPropData.ExplosionForce { get; set; }

Scale of the force applied to entities damaged by the explosion and the models break pieces.

public float Sandbox.ModelEditor.Nodes.ModelPropData.ExplosionRadius { get; set; }

Range of explosion's damage.

public bool Sandbox.ModelEditor.Nodes.ModelPropData.Explosive { get; set; }

If true we'll explode this prop when it's destroyed

public bool Sandbox.ModelEditor.Nodes.ModelPropData.Flammable { get; set; }

If true well treat this prop as flammable, meaning it can catch fire and burn.

public float Sandbox.ModelEditor.Nodes.ModelPropData.Health { get; set; }

When this model is used as prop_physics, it's health will be set to this value.

public float Sandbox.ModelEditor.Nodes.ModelPropData.ImpactDamage { get; set; }

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.

public float Sandbox.ModelEditor.Nodes.ModelPropData.MinImpactDamageSpeed { get; set; }

Minimum impact damage speed to break this object.

Metadata

FieldValue
NamespaceSandbox.ModelEditor.Nodes
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.ModelEditor.Nodes.ModelPropData

On this page