s&box docs

public sealed class Sandbox.ModelHitboxes : Sandbox.Component

Hitboxes from a model

Constructors

Showing 1 constructors

Methods

Showing 3 methods

public void AddHitbox(Sandbox.Hitbox hitbox)

public void Rebuild()

public void UpdatePositions()

Properties

Showing 2 properties

public Sandbox.GameObject Sandbox.ModelHitboxes.Target { get; set; }

The target GameObject to report in trace hits. If this is unset we'll defaault to the gameobject on which this component is.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.ModelHitboxes

On this page