ModelHitboxesclass

Hitboxes from a model

objectComponentModelHitboxes
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.ModelHitboxes : Sandbox.Component

Constructors1

Showing 1 constructors

Methods3

Showing 3 methods

public void AddHitbox(Sandbox.Hitbox hitbox)PUBLIC

ParameterTypeDescription
hitboxHitbox
Returns:void

public void Rebuild()PUBLIC

Returns:void

public void UpdatePositions()PUBLICPER-FRAME

Returns:void

Properties2

Showing 2 properties

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

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

Returns:GameObject

On this page