s&box docs

public class Sandbox.HitboxSet.Box

A single hitbox on the model. This can be a box, sphere or capsule.

Broader workflow and conceptual references connected to this API.

Properties

Showing 7 properties

public string Sandbox.HitboxSet.Box.Name { get; set; }

public Vector3 Sandbox.HitboxSet.Box.RandomPointInside { get; set; }

Get a random point inside this hitbox

public Vector3 Sandbox.HitboxSet.Box.RandomPointOnEdge { get; set; }

Get a random point on the edge this hitbox

public object Sandbox.HitboxSet.Box.Shape { get; set; }

Either a Sphere, Capsule or BBox

public string Sandbox.HitboxSet.Box.SurfaceName { get; set; }

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.HitboxSet.Box

On this page