s&box docs

public sealed class Sandbox.ManualHitbox : Sandbox.Component

A hitbox that can be placed manually on a GameObject, instead of coming from a model

Constructors

Showing 1 constructors

Methods

Showing 2 methods

public void Rebuild()

public void UpdatePositions()

Properties

Showing 6 properties

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

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

Metadata

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

On this page