API ReferenceSandbox
ManualHitboxclass
A hitbox that can be placed manually on a GameObject, instead of coming from a model
Constructors1
Showing 1 constructors
public ManualHitbox()
No results match this filter.
Methods2
Showing 2 methods
public void Rebuild()
Returns:
void—public void UpdatePositions()
Returns:
void—No results match this filter.
Properties6
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; }
Returns:
float—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.