API ReferenceSandbox
ModelHitboxesclass
Hitboxes from a model
Constructors1
Showing 1 constructors
public ModelHitboxes()
No results match this filter.
Methods3
Showing 3 methods
public void Rebuild()
Returns:
void—public void UpdatePositions()
Returns:
void—No results match this filter.
Properties2
Showing 2 properties
public Sandbox.SkinnedModelRenderer Sandbox.ModelHitboxes.Renderer { get; set; }
The target SkinnedModelRenderer that holds the model/skeleton you want to take the hitboxes from.
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.
No results match this filter.