API ReferenceSandbox
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
public ManualHitbox()
No results match this filter.
Methods
Showing 2 methods
public void Rebuild()
public void UpdatePositions()
No results match this filter.
Properties
Showing 6 properties
public Vector3 Sandbox.ManualHitbox.CenterA { get; set; }
public Vector3 Sandbox.ManualHitbox.CenterB { get; set; }
public Sandbox.TagSet Sandbox.ManualHitbox.HitboxTags { get; set; }
public float Sandbox.ManualHitbox.Radius { get; set; }
public Sandbox.ManualHitbox.HitboxShape Sandbox.ManualHitbox.Shape { get; set; }
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.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.ManualHitbox |